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.001176/0.001176, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001155/0.001155, allocations: 196 kB / 17.97 MB, free: 5.027 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.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2002/0.2002, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 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.001441/0.001441, allocations: 66.38 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09163, allocations: 57.79 MB / 442 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003935/0.0956, allocations: 4.083 MB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.09733, allocations: 1.118 MB / 447.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.09771, allocations: 11.94 kB / 447.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.09797, allocations: 98.95 kB / 447.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.0984, allocations: 198.2 kB / 447.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.09891, allocations: 195.6 kB / 447.7 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.09963, allocations: 0.7784 MB / 448.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.1, allocations: 239.4 kB / 448.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.1004, allocations: 298.9 kB / 449 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.1009, allocations: 346.5 kB / 449.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.101, allocations: 63.94 kB / 449.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.1012, allocations: 84 kB / 449.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1014, allocations: 143.5 kB / 449.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.1017, allocations: 350.2 kB / 449.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.1024, allocations: 0.759 MB / 450.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1024, allocations: 0 / 450.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1024, allocations: 0 / 450.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1024, allocations: 3.938 kB / 450.7 MB, free: 13.41 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.001841/0.1043, allocations: 0.9937 MB / 451.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1043, allocations: 15.89 kB / 451.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1044, allocations: 80 kB / 451.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.105, allocations: 401.8 kB / 452.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.105, allocations: 41.69 kB / 452.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.1051, allocations: 72.17 kB / 452.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1062, allocations: 0.6268 MB / 452.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.1062, allocations: 11.91 kB / 452.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.1063, allocations: 20 kB / 452.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1063, allocations: 19.94 kB / 453 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1074, allocations: 0.5294 MB / 453.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.1104, allocations: 2.153 MB / 455.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.1117, allocations: 0.6928 MB / 456.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.1123, allocations: 347.5 kB / 456.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.1124, allocations: 97.52 kB / 456.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1125, allocations: 54.89 kB / 456.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.154e-06/0.1125, allocations: 0 / 456.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.007577/0.1201, allocations: 4.487 MB / 461.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1202, allocations: 218.2 kB / 461.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.1206, allocations: 370 kB / 461.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.1207, allocations: 49.7 kB / 461.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.1208, allocations: 261 kB / 462.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.1211, allocations: 410 kB / 462.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.1214, allocations: 182.9 kB / 462.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1215, allocations: 378.8 kB / 463.1 MB, free: 188 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.1221, allocations: 322.4 kB / 463.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.1229, allocations: 0.5004 MB / 463.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.1243, allocations: 0.8785 MB / 464.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1243, allocations: 0 / 464.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001712/0.126, allocations: 0.9997 MB / 465.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1261, allocations: 11.94 kB / 465.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1261, allocations: 4 kB / 465.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1261, allocations: 16.42 kB / 465.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.1271, allocations: 279.6 kB / 466.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.1272, allocations: 15.94 kB / 466.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.1276, allocations: 47.97 kB / 466.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.1277, allocations: 43.98 kB / 466.2 MB, free: 12.94 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.0003033/0.128, allocations: 237.4 kB / 466.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.1282, allocations: 75.09 kB / 466.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.1287, allocations: 218.9 kB / 466.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.1287, allocations: 16 kB / 466.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.1287, allocations: 0 / 466.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.1288, allocations: 7.984 kB / 466.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.1323, allocations: 2.345 MB / 469.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.1323, allocations: 0 / 469.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.1334, allocations: 256 kB / 469.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.1335, allocations: 12 kB / 469.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.1335, allocations: 31.94 kB / 469.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.1336, allocations: 11.98 kB / 469.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1336, allocations: 8.219 kB / 469.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.136, allocations: 1.904 MB / 471.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.1363, allocations: 196.2 kB / 471.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.1364, allocations: 31.92 kB / 471.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.137, allocations: 39.97 kB / 471.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.1372, allocations: 88.33 kB / 471.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.1373, allocations: 35.98 kB / 471.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.1375, allocations: 251.2 kB / 472 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1375, allocations: 0 / 472 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000809/0.1383, allocations: 196 kB / 472.2 MB, free: 6.832 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.0001897/0.1385, allocations: 127.1 kB / 472.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.14, allocations: 0.8547 MB / 473.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1401, allocations: 0 / 473.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.1409, allocations: 0.4908 MB / 473.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.1421, allocations: 124.8 kB / 473.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.1455, allocations: 2.188 MB / 475.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.1461, allocations: 0.9439 MB / 476.9 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.1464, allocations: 105.7 kB / 477 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.1466, allocations: 63.36 kB / 477.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1466, allocations: 0 / 477.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Templates: time 0.01309/0.1597, allocations: 7.256 MB / 484.3 MB, free: 10.62 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 -s gbode -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