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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 104.9 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.353/0.353, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009976/0.0009976, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1161, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005302/0.1214, allocations: 4.119 MB / 491.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1235, allocations: 1.095 MB / 492.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.1238, allocations: 19.94 kB / 492.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.1241, allocations: 71.39 kB / 492.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.1245, allocations: 174.6 kB / 492.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1249, allocations: 163.8 kB / 492.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.1256, allocations: 0.7511 MB / 493.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.1259, allocations: 215 kB / 493.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.1262, allocations: 282.9 kB / 493.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.1265, allocations: 318.5 kB / 494.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.1266, allocations: 40 kB / 494.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.1268, allocations: 67.98 kB / 494.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1269, allocations: 127.4 kB / 494.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.1273, allocations: 330.2 kB / 494.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.128, allocations: 0.72 MB / 495.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.128, allocations: 4 kB / 495.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.128, allocations: 4 kB / 495.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1281, allocations: 4 kB / 495.5 MB, free: 4.039 MB / 378.7 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.002103/0.1302, allocations: 0.9897 MB / 496.5 MB, free: 3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1302, allocations: 8.031 kB / 496.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1304, allocations: 91.94 kB / 496.6 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.131, allocations: 385.9 kB / 496.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.131, allocations: 45.69 kB / 497 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1312, allocations: 68.27 kB / 497 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1323, allocations: 0.6268 MB / 497.7 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.1324, allocations: 15.81 kB / 497.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.1324, allocations: 24 kB / 497.7 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1324, allocations: 12 kB / 497.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1336, allocations: 0.5332 MB / 498.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.1365, allocations: 2.157 MB / 0.4887 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.1377, allocations: 0.7184 MB / 0.4894 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.1383, allocations: 343.1 kB / 0.4897 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.1385, allocations: 101.8 kB / 0.4898 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1386, allocations: 50.94 kB / 0.4899 GB, free: 13.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.1386, allocations: 0 / 0.4899 GB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.007614/0.1462, allocations: 4.484 MB / 0.4942 GB, free: 8.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.1463, allocations: 222.1 kB / 0.4944 GB, free: 8.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.1468, allocations: 362 kB / 0.4948 GB, free: 8.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.1468, allocations: 46.08 kB / 0.4948 GB, free: 8.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.147, allocations: 268.9 kB / 0.4951 GB, free: 7.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.1473, allocations: 406 kB / 0.4955 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.1475, allocations: 186.9 kB / 0.4957 GB, free: 7.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1477, allocations: 382.7 kB / 0.496 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.1483, allocations: 318.4 kB / 0.4963 GB, free: 6.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.149, allocations: 0.5082 MB / 0.4968 GB, free: 5.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.1505, allocations: 0.8624 MB / 0.4977 GB, free: 4.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1505, allocations: 0 / 0.4977 GB, free: 4.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001688/0.1522, allocations: 0.9999 MB / 0.4986 GB, free: 3.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1522, allocations: 15.88 kB / 0.4987 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1522, allocations: 4 kB / 0.4987 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.1522, allocations: 12 kB / 0.4987 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/0.1532, allocations: 283.6 kB / 0.4989 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.1532, allocations: 8 kB / 0.4989 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.1536, allocations: 56.19 kB / 0.499 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.1537, allocations: 39.98 kB / 0.499 GB, free: 3.555 MB / 394.7 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.0002784/0.154, allocations: 229.5 kB / 0.4993 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.1542, allocations: 79.23 kB / 0.4993 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.1547, allocations: 222.8 kB / 0.4995 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1547, allocations: 12 kB / 0.4996 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.1547, allocations: 8.062 kB / 0.4996 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.1547, allocations: 7.984 kB / 0.4996 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.1582, allocations: 2.348 MB / 0.5019 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1582, allocations: 4 kB / 0.5019 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.1592, allocations: 251.7 kB / 0.5021 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.1593, allocations: 8 kB / 0.5021 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.1593, allocations: 28.22 kB / 0.5021 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.1593, allocations: 19.92 kB / 0.5022 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1593, allocations: 4 kB / 0.5022 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1984/0.3578, allocations: 5.24 MB / 0.5073 GB, free: 56.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.358, allocations: 203.4 kB / 0.5075 GB, free: 56.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.3581, allocations: 23.95 kB / 0.5075 GB, free: 56.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.3587, allocations: 46.52 kB / 0.5075 GB, free: 56.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.3589, allocations: 81.75 kB / 0.5076 GB, free: 56.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.3589, allocations: 36.97 kB / 0.5077 GB, free: 56.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.3591, allocations: 250.7 kB / 0.5079 GB, free: 56.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3591, allocations: 5.938 kB / 0.5079 GB, free: 56.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008838/0.36, allocations: 253.2 kB / 0.5081 GB, free: 56.42 MB / 394.7 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.0001411/0.3602, allocations: 140.5 kB / 0.5083 GB, free: 56.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.3616, allocations: 0.8453 MB / 0.5091 GB, free: 56.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3616, allocations: 0 / 0.5091 GB, free: 56.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007442/0.3624, allocations: 498.6 kB / 0.5096 GB, free: 56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3635, allocations: 132.5 kB / 0.5097 GB, free: 55.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3667, allocations: 3.072 MB / 0.5127 GB, free: 53.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3671, allocations: 0.9673 MB / 0.5137 GB, free: 53.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.3675, allocations: 103 kB / 0.5138 GB, free: 53.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3677, allocations: 73.7 kB / 0.5138 GB, free: 53.17 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3677, allocations: 0 / 0.5138 GB, free: 53.17 MB / 394.7 MB Notification: Performance of Templates: time 0.01206/0.3797, allocations: 7.98 MB / 0.5216 GB, free: 52.68 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches