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.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001643, allocations: 97.91 kB / 16.93 MB, free: 5.805 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.001825/0.001825, allocations: 187.3 kB / 17.86 MB, free: 5.18 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.385/1.385, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.53 MB / 314.6 MB, free: 0.5391 MB / 254.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.001711/0.001712, allocations: 74.11 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.1012, allocations: 57.79 MB / 441.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004198/0.1054, allocations: 4.091 MB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1073, allocations: 1.118 MB / 446.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.1077, allocations: 11.94 kB / 446.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.108, allocations: 103 kB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.1084, allocations: 194.2 kB / 446.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.109, allocations: 199.6 kB / 446.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.1096, allocations: 0.7707 MB / 447.7 MB, free: 448 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.1099, allocations: 239.4 kB / 447.9 MB, free: 200 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.1103, allocations: 298.9 kB / 448.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.1107, allocations: 338.5 kB / 448.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.1108, allocations: 64 kB / 448.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.111, allocations: 87.92 kB / 448.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1111, allocations: 151.4 kB / 448.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.1115, allocations: 342.3 kB / 449.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.1123, allocations: 0.7513 MB / 449.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1123, allocations: 0 / 449.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1123, allocations: 0 / 449.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1123, allocations: 3.938 kB / 449.9 MB, free: 14.18 MB / 334.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.001922/0.1142, allocations: 0.9975 MB / 450.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1143, allocations: 11.89 kB / 450.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.1144, allocations: 80 kB / 451 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.115, allocations: 385.9 kB / 451.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.115, allocations: 45.69 kB / 451.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1151, allocations: 72.17 kB / 451.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1163, allocations: 0.6307 MB / 452.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.1163, allocations: 7.906 kB / 452.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.1164, allocations: 24 kB / 452.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1164, allocations: 16 kB / 452.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1176, allocations: 0.5332 MB / 452.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.1207, allocations: 2.165 MB / 454.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.122, allocations: 0.6967 MB / 455.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.1226, allocations: 343.2 kB / 455.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.1228, allocations: 97.47 kB / 456 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1228, allocations: 54.94 kB / 456 MB, free: 7.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.826e-06/0.1228, allocations: 0 / 456 MB, free: 7.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.008482/0.1313, allocations: 4.498 MB / 460.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1315, allocations: 226.1 kB / 460.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.1319, allocations: 366 kB / 461.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.132, allocations: 41.7 kB / 461.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1322, allocations: 265.3 kB / 461.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.1325, allocations: 414 kB / 461.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.1328, allocations: 182.9 kB / 462 MB, free: 1.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.133, allocations: 374.8 kB / 462.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.1337, allocations: 330.4 kB / 462.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.1345, allocations: 0.5004 MB / 463.2 MB, free: 52 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.136, allocations: 0.8738 MB / 464 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.136, allocations: 0 / 464 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001935/0.138, allocations: 0.9997 MB / 465 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.138, allocations: 11.94 kB / 465.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.138, allocations: 4 kB / 465.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.1381, allocations: 8 kB / 465.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.1391, allocations: 288 kB / 465.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/0.1391, allocations: 12.3 kB / 465.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.1397, allocations: 47.97 kB / 465.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.1398, allocations: 51.97 kB / 465.5 MB, free: 13.69 MB / 350.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.0003795/0.1402, allocations: 233.5 kB / 465.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.1405, allocations: 75.09 kB / 465.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.141, allocations: 222.8 kB / 466 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.141, allocations: 16 kB / 466 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.141, allocations: 0 / 466 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.141, allocations: 7.984 kB / 466 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.1449, allocations: 2.351 MB / 468.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.145, allocations: 4 kB / 468.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.146, allocations: 251.9 kB / 468.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.1461, allocations: 8 kB / 468.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.1461, allocations: 31.94 kB / 468.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.1462, allocations: 11.94 kB / 468.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.1462, allocations: 7.984 kB / 468.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.1488, allocations: 1.896 MB / 470.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.1491, allocations: 196.2 kB / 470.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.1493, allocations: 31.92 kB / 470.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.1499, allocations: 43.97 kB / 470.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.1501, allocations: 96.27 kB / 470.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.1502, allocations: 32 kB / 471 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.1504, allocations: 247.1 kB / 471.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1504, allocations: 0 / 471.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009371/0.1514, allocations: 200 kB / 471.4 MB, free: 7.582 MB / 350.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.0002176/0.1516, allocations: 131.1 kB / 471.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.1537, allocations: 0.9015 MB / 472.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1537, allocations: 0 / 472.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008694/0.1546, allocations: 491.2 kB / 472.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.1559, allocations: 157.1 kB / 473.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.1597, allocations: 2.221 MB / 475.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.1603, allocations: 0.9361 MB / 476.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.1606, allocations: 75.42 kB / 476.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of SimCode: time 3.587e-06/0.1606, allocations: 0 / 476.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Templates: time 0.01713/0.1778, allocations: 8.916 MB / 485.2 MB, free: 9.66 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) 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) Reference file matches