Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.000914, allocations: 93.69 kB / 17.3 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009252/0.0009253, allocations: 173.1 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004475, allocations: 12 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09062, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002692/0.09339, allocations: 2.267 MB / 331.3 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.09424, allocations: 366.8 kB / 331.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.09449, allocations: 11.94 kB / 331.7 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.09471, allocations: 35.7 kB / 331.7 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.09504, allocations: 87.3 kB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.09537, allocations: 71.92 kB / 331.9 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.09579, allocations: 362.4 kB / 332.2 MB, free: 476 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.09602, allocations: 103.9 kB / 332.3 MB, free: 372 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.09622, allocations: 115.5 kB / 332.4 MB, free: 256 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.09644, allocations: 147.3 kB / 332.6 MB, free: 108 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.09649, allocations: 16 kB / 332.6 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.09656, allocations: 16 kB / 332.6 MB, free: 76 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.09662, allocations: 59.75 kB / 332.7 MB, free: 16 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.09684, allocations: 173 kB / 332.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.09724, allocations: 342.5 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.09726, allocations: 4 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09726, allocations: 0 / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.09728, allocations: 4 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009682/0.09826, allocations: 0.5848 MB / 333.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.09831, allocations: 8.031 kB / 333.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.259e-05/0.09839, allocations: 70.72 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.09846, allocations: 36.47 kB / 333.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.09874, allocations: 271.6 kB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.09878, allocations: 20.94 kB / 334.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.09884, allocations: 28.31 kB / 334.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.0995, allocations: 285.4 kB / 334.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.09954, allocations: 7.938 kB / 334.5 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.09957, allocations: 8 kB / 334.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.09959, allocations: 15.98 kB / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/0.1002, allocations: 282 kB / 334.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.1016, allocations: 0.8029 MB / 335.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.1022, allocations: 370.8 kB / 336 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.1026, allocations: 196.8 kB / 336.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.1026, allocations: 11.97 kB / 336.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1027, allocations: 38.56 kB / 336.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.1027, allocations: 0 / 336.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.00431/0.107, allocations: 2.039 MB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1071, allocations: 59.97 kB / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1074, allocations: 198.8 kB / 338.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1074, allocations: 33.7 kB / 338.5 MB, free: 9.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.1075, allocations: 149 kB / 338.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.1077, allocations: 212.8 kB / 338.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.1078, allocations: 49.69 kB / 338.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1079, allocations: 354.7 kB / 339.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.1082, allocations: 165 kB / 339.4 MB, free: 8.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1086, allocations: 185 kB / 339.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.1093, allocations: 396 kB / 340 MB, free: 8.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1093, allocations: 4 kB / 340 MB, free: 8.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008325/0.1102, allocations: 494.6 kB / 340.5 MB, free: 7.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1102, allocations: 12 kB / 340.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1102, allocations: 4 kB / 340.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1103, allocations: 0 / 340.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.1107, allocations: 135.7 kB / 340.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1107, allocations: 0 / 340.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.1109, allocations: 31.92 kB / 340.7 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.111, allocations: 24 kB / 340.7 MB, free: 7.66 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.1111, allocations: 157.7 kB / 340.8 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1113, allocations: 31.62 kB / 340.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.1114, allocations: 51.33 kB / 340.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1115, allocations: 4 kB / 340.9 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1115, allocations: 0 / 340.9 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1115, allocations: 7.922 kB / 340.9 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.1135, allocations: 1.337 MB / 342.3 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1135, allocations: 8.031 kB / 342.3 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.114, allocations: 131.8 kB / 342.4 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.114, allocations: 8 kB / 342.4 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.114, allocations: 19.98 kB / 342.4 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.114, allocations: 7.938 kB / 342.4 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1141, allocations: 8 kB / 342.5 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.1154, allocations: 0.9056 MB / 343.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.1155, allocations: 112.7 kB / 343.5 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.1156, allocations: 16 kB / 343.5 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.1158, allocations: 31.98 kB / 343.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.1159, allocations: 55.81 kB / 343.6 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.116, allocations: 20 kB / 343.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1161, allocations: 140.6 kB / 343.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1161, allocations: 0 / 343.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.1165, allocations: 100 kB / 343.8 MB, free: 4.312 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/0.1181, allocations: 1.451 MB / 345.3 MB, free: 2.781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.1189, allocations: 454.8 kB / 345.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1189, allocations: 0 / 345.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.1194, allocations: 268.8 kB / 346 MB, free: 2.074 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.1202, allocations: 83.31 kB / 346.1 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.1253, allocations: 3.957 MB / 350 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1257, allocations: 0.7935 MB / 350.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002517/0.126, allocations: 51.25 kB / 350.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.1262, allocations: 119.4 kB / 351 MB, free: 12.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1262, allocations: 0 / 351 MB, free: 12.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.1452, allocations: 6.891 MB / 357.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1454, allocations: 199.7 kB / 358.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.01, allocations: 7.938 kB / 358.1 MB, free: 5.699 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches