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.001722/0.001722, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001446/0.001446, allocations: 225.5 kB / 23.01 MB, free: 5.039 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.409/1.409, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.2295/0.2295, allocations: 44.23 MB / 330.3 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",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.002348/0.002348, allocations: 68.42 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1187, allocations: 61.04 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.0062/0.1249, allocations: 4.139 MB / 0.5202 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1273, allocations: 1.126 MB / 0.5213 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.1276, allocations: 15.88 kB / 0.5213 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1279, allocations: 98.95 kB / 0.5214 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.1283, allocations: 202.2 kB / 0.5216 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.1289, allocations: 195.6 kB / 0.5218 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009278/0.1298, allocations: 0.7862 MB / 0.5225 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.1302, allocations: 164.1 kB / 0.5227 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.1306, allocations: 318.8 kB / 0.523 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.1311, allocations: 338.6 kB / 0.5233 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.1312, allocations: 64 kB / 0.5234 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1314, allocations: 80 kB / 0.5235 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1315, allocations: 151.4 kB / 0.5236 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.1319, allocations: 350.2 kB / 0.5239 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.1328, allocations: 0.774 MB / 0.5247 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1328, allocations: 0 / 0.5247 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1328, allocations: 0 / 0.5247 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1329, allocations: 0 / 0.5247 GB, free: 14.53 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.002045/0.1349, allocations: 0.9371 MB / 0.5256 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1349, allocations: 8.031 kB / 0.5256 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.1351, allocations: 98.7 kB / 0.5257 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1352, allocations: 84.45 kB / 0.5258 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.1358, allocations: 348.2 kB / 0.5261 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.1358, allocations: 41.69 kB / 0.5262 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1359, allocations: 64.33 kB / 0.5262 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.1371, allocations: 0.6305 MB / 0.5268 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.1372, allocations: 7.953 kB / 0.5268 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1372, allocations: 20 kB / 0.5269 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1372, allocations: 16 kB / 0.5269 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1384, allocations: 0.5372 MB / 0.5274 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.1422, allocations: 2.099 MB / 0.5294 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.1437, allocations: 0.6715 MB / 0.5301 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.1443, allocations: 319.2 kB / 0.5304 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1445, allocations: 20.72 kB / 0.5304 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.1445, allocations: 50.94 kB / 0.5305 GB, free: 8.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/0.1445, allocations: 0 / 0.5305 GB, free: 8.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.008699/0.1532, allocations: 3.95 MB / 0.5343 GB, free: 4.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.1534, allocations: 226.3 kB / 0.5345 GB, free: 3.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.1538, allocations: 365.9 kB / 0.5349 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.1539, allocations: 41.7 kB / 0.5349 GB, free: 3.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.1541, allocations: 277.5 kB / 0.5352 GB, free: 3.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.1544, allocations: 424.3 kB / 0.5356 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.1547, allocations: 179 kB / 0.5358 GB, free: 2.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1549, allocations: 378.8 kB / 0.5361 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.1556, allocations: 322.4 kB / 0.5364 GB, free: 1.895 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.1564, allocations: 0.5043 MB / 0.5369 GB, free: 1.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.158, allocations: 0.8667 MB / 0.5378 GB, free: 392 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.158, allocations: 4 kB / 0.5378 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.2088/0.3668, allocations: 1.005 MB / 0.5388 GB, free: 27.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3668, allocations: 7.875 kB / 0.5388 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3668, allocations: 5.547 kB / 0.5388 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.3668, allocations: 10 kB / 0.5388 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.3679, allocations: 282.1 kB / 0.5391 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.3679, allocations: 14.48 kB / 0.5391 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.3684, allocations: 50.78 kB / 0.5391 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.3685, allocations: 41.05 kB / 0.5392 GB, free: 27.38 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.0002931/0.3688, allocations: 231.5 kB / 0.5394 GB, free: 27.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.369, allocations: 78.44 kB / 0.5395 GB, free: 27.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.3694, allocations: 222.2 kB / 0.5397 GB, free: 27.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.3694, allocations: 12.91 kB / 0.5397 GB, free: 27.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3694, allocations: 3.406 kB / 0.5397 GB, free: 27.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.3694, allocations: 8.031 kB / 0.5397 GB, free: 27.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.3728, allocations: 2.307 MB / 0.5419 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.3728, allocations: 3.531 kB / 0.542 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.3739, allocations: 247.9 kB / 0.5422 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.3739, allocations: 11.06 kB / 0.5422 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.374, allocations: 29.28 kB / 0.5422 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.374, allocations: 11.44 kB / 0.5422 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.374, allocations: 6.094 kB / 0.5422 GB, free: 26.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.3764, allocations: 1.908 MB / 0.5441 GB, free: 25.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.3768, allocations: 128.5 kB / 0.5442 GB, free: 25.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.3768, allocations: 22.5 kB / 0.5442 GB, free: 25.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005962/0.3774, allocations: 44.48 kB / 0.5443 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.3776, allocations: 92.83 kB / 0.5444 GB, free: 25.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.3777, allocations: 36.59 kB / 0.5444 GB, free: 25.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.3779, allocations: 250.5 kB / 0.5447 GB, free: 25.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 3.609 kB / 0.5447 GB, free: 25.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008841/0.3788, allocations: 194.7 kB / 0.5448 GB, free: 25.38 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.002718/0.3815, allocations: 2.484 MB / 0.5473 GB, free: 23.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3831, allocations: 0.8047 MB / 0.5481 GB, free: 23.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3831, allocations: 1.094 kB / 0.5481 GB, free: 23.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008272/0.384, allocations: 471.6 kB / 0.5485 GB, free: 23.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3852, allocations: 141.8 kB / 0.5486 GB, free: 23.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/0.3949, allocations: 7.236 MB / 0.5557 GB, free: 18.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3953, allocations: 0.9461 MB / 0.5566 GB, free: 18.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.3958, allocations: 107.4 kB / 0.5567 GB, free: 18.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.3962, allocations: 265.8 kB / 0.557 GB, free: 17.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3962, allocations: 2.953 kB / 0.557 GB, free: 17.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05123/0.4474, allocations: 14.7 MB / 0.5713 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.76, allocations: 14.25 kB / 0.5714 GB, free: 13.18 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: 15.859058571048081]