Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 211.9 kB / 23.78 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.24 MB / 331.1 MB, free: 9.543 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 67.91 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 61.04 MB / 0.5169 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006443/0.1417, allocations: 4.143 MB / 0.5209 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1445, allocations: 1.115 MB / 0.522 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.1449, allocations: 15.88 kB / 0.5221 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1452, allocations: 103 kB / 0.5221 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.1457, allocations: 210.1 kB / 0.5223 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.1463, allocations: 191.7 kB / 0.5225 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009067/0.1472, allocations: 0.7784 MB / 0.5233 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.1476, allocations: 172.1 kB / 0.5235 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.148, allocations: 322.8 kB / 0.5238 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.1484, allocations: 334.6 kB / 0.5241 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.5e-05/0.1485, allocations: 60 kB / 0.5241 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.1487, allocations: 91.92 kB / 0.5242 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1489, allocations: 147.4 kB / 0.5244 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.1492, allocations: 342.3 kB / 0.5247 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009099/0.1501, allocations: 0.7741 MB / 0.5255 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1501, allocations: 0 / 0.5255 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1501, allocations: 3.938 kB / 0.5255 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1501, allocations: 0 / 0.5255 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001976/0.1521, allocations: 0.941 MB / 0.5264 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1522, allocations: 8.031 kB / 0.5264 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.034e-05/0.1522, allocations: 17.5 kB / 0.5264 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.1523, allocations: 98.7 kB / 0.5265 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1524, allocations: 76.47 kB / 0.5266 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.153, allocations: 340.2 kB / 0.5269 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.153, allocations: 45.69 kB / 0.5269 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1531, allocations: 68.31 kB / 0.527 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.1543, allocations: 0.6264 MB / 0.5276 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.1543, allocations: 7.953 kB / 0.5276 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.1544, allocations: 24 kB / 0.5276 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1544, allocations: 15.94 kB / 0.5277 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1556, allocations: 0.5294 MB / 0.5282 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.1589, allocations: 2.103 MB / 0.5302 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.1603, allocations: 0.6716 MB / 0.5309 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.1609, allocations: 331 kB / 0.5312 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.1611, allocations: 20.72 kB / 0.5312 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.1611, allocations: 50.94 kB / 0.5313 GB, free: 8.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.1611, allocations: 0 / 0.5313 GB, free: 8.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.008393/0.1695, allocations: 3.947 MB / 0.5351 GB, free: 4.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.1696, allocations: 222.3 kB / 0.5353 GB, free: 3.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.17, allocations: 365.9 kB / 0.5357 GB, free: 3.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.1701, allocations: 41.7 kB / 0.5357 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1703, allocations: 269.5 kB / 0.536 GB, free: 3.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.1707, allocations: 424.3 kB / 0.5364 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.1709, allocations: 183 kB / 0.5366 GB, free: 2.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1711, allocations: 374.8 kB / 0.5369 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007028/0.1718, allocations: 326.4 kB / 0.5372 GB, free: 1.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/0.1727, allocations: 0.5043 MB / 0.5377 GB, free: 1.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.1743, allocations: 0.8667 MB / 0.5386 GB, free: 408 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1743, allocations: 0 / 0.5386 GB, free: 408 kB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.2305/0.4048, allocations: 1.011 MB / 0.5396 GB, free: 27.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.4048, allocations: 7.75 kB / 0.5396 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.4048, allocations: 5.688 kB / 0.5396 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.4049, allocations: 12.31 kB / 0.5396 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4059, allocations: 285.6 kB / 0.5398 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.4059, allocations: 11.42 kB / 0.5399 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.4064, allocations: 49.94 kB / 0.5399 GB, free: 27.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.4065, allocations: 41.59 kB / 0.5399 GB, free: 27.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0003362/0.4069, allocations: 231.3 kB / 0.5402 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.4071, allocations: 76.52 kB / 0.5402 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.4076, allocations: 222.4 kB / 0.5405 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.4076, allocations: 13.97 kB / 0.5405 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4076, allocations: 2.25 kB / 0.5405 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.4076, allocations: 8.062 kB / 0.5405 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.4111, allocations: 2.303 MB / 0.5427 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4111, allocations: 3.562 kB / 0.5427 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4121, allocations: 255.7 kB / 0.543 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.4121, allocations: 8.344 kB / 0.543 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.4122, allocations: 31.31 kB / 0.543 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.4122, allocations: 11.45 kB / 0.543 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.4122, allocations: 7.031 kB / 0.543 GB, free: 26.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.4145, allocations: 1.907 MB / 0.5449 GB, free: 25.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.4148, allocations: 128.2 kB / 0.545 GB, free: 25.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.4149, allocations: 23 kB / 0.545 GB, free: 25.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.4155, allocations: 43.84 kB / 0.5451 GB, free: 25.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.4157, allocations: 92.8 kB / 0.5452 GB, free: 25.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.4158, allocations: 37.52 kB / 0.5452 GB, free: 25.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.416, allocations: 251.6 kB / 0.5454 GB, free: 25.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.416, allocations: 0 / 0.5454 GB, free: 25.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008662/0.4169, allocations: 193.4 kB / 0.5456 GB, free: 25.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.002517/0.4194, allocations: 2.487 MB / 0.5481 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.421, allocations: 0.8054 MB / 0.5488 GB, free: 23.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.421, allocations: 1.156 kB / 0.5488 GB, free: 23.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.4218, allocations: 473 kB / 0.5493 GB, free: 23.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4231, allocations: 137.2 kB / 0.5494 GB, free: 23.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/0.4327, allocations: 7.243 MB / 0.5565 GB, free: 18.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4331, allocations: 0.9431 MB / 0.5574 GB, free: 18.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.4336, allocations: 98.78 kB / 0.5575 GB, free: 18.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.4339, allocations: 271.5 kB / 0.5578 GB, free: 18 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4339, allocations: 0 / 0.5578 GB, free: 18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.4766, allocations: 14.74 MB / 0.5722 GB, free: 13.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.06, allocations: 15.06 kB / 0.5722 GB, free: 13.21 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.700705715978984]