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.0009594/0.0009594, allocations: 96.59 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 176.5 kB / 16.56 MB, free: 6.375 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.601/1.601, allocations: 205.4 MB / 222.7 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3866/0.3866, allocations: 43.55 MB / 314.5 MB, free: 8.746 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.0005722/0.0005726, allocations: 12 kB / 383.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 58.86 MB / 442.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00401/0.1349, allocations: 3.302 MB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1371, allocations: 1.1 MB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/0.1377, allocations: 15.88 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1379, allocations: 71.38 kB / 447.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007511/0.1387, allocations: 227.4 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.1394, allocations: 151.7 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1404, allocations: 0.5229 MB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.1408, allocations: 190.9 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.1414, allocations: 247.1 kB / 448.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.1419, allocations: 290.7 kB / 448.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1421, allocations: 32 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.1423, allocations: 55.92 kB / 448.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1424, allocations: 111.6 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1426, allocations: 149.3 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.1432, allocations: 0.5339 MB / 449.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1433, allocations: 0 / 449.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1433, allocations: 0 / 449.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.1433, allocations: 0 / 449.7 MB, free: 6.086 MB / 382.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.001979/0.1453, allocations: 0.9273 MB / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1453, allocations: 8.031 kB / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1455, allocations: 79.06 kB / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.1461, allocations: 380.8 kB / 451.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.1462, allocations: 45.31 kB / 451.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1463, allocations: 63.91 kB / 451.2 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1475, allocations: 0.6265 MB / 451.8 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.1476, allocations: 19.89 kB / 451.8 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.1477, allocations: 20 kB / 451.9 MB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.1477, allocations: 19.95 kB / 451.9 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.1489, allocations: 0.5645 MB / 452.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.1523, allocations: 2.173 MB / 454.6 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.1537, allocations: 0.7188 MB / 455.3 MB, free: 164 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.1538, allocations: 97.83 kB / 455.4 MB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2246/0.3785, allocations: 46.94 kB / 455.5 MB, free: 46.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.019e-05/0.3785, allocations: 0 / 455.5 MB, free: 46.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008662/0.3872, allocations: 4.603 MB / 460.1 MB, free: 44.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.3873, allocations: 219.9 kB / 460.3 MB, free: 44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.3878, allocations: 371.9 kB / 460.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.3879, allocations: 42.08 kB / 460.7 MB, free: 43.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.388, allocations: 263.8 kB / 461 MB, free: 43.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.3883, allocations: 406.3 kB / 461.4 MB, free: 43.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3884, allocations: 26.38 kB / 461.4 MB, free: 43.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3885, allocations: 381.4 kB / 461.8 MB, free: 43.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.3891, allocations: 337.1 kB / 462.1 MB, free: 43.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.3898, allocations: 0.5183 MB / 462.6 MB, free: 42.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/0.3905, allocations: 398.5 kB / 463 MB, free: 42.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3905, allocations: 0 / 463 MB, free: 42.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001832/0.3924, allocations: 1.034 MB / 464 MB, free: 42.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3924, allocations: 5.875 kB / 464 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3924, allocations: 6.406 kB / 464 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.3925, allocations: 12.81 kB / 464 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/0.3934, allocations: 290.4 kB / 464.3 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/0.3935, allocations: 19.95 kB / 464.3 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.394, allocations: 64.91 kB / 464.4 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.3941, allocations: 39.19 kB / 464.5 MB, free: 42.77 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.3945, allocations: 234.6 kB / 464.7 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.3947, allocations: 75.03 kB / 464.8 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.3951, allocations: 224.5 kB / 465 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3952, allocations: 13.69 kB / 465 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.3952, allocations: 0 / 465 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3952, allocations: 9.172 kB / 465 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.3985, allocations: 2.382 MB / 467.4 MB, free: 41.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.3985, allocations: 3.188 kB / 467.4 MB, free: 41.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.3995, allocations: 263.8 kB / 467.6 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.3995, allocations: 9.031 kB / 467.6 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.3996, allocations: 36.3 kB / 467.7 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.3996, allocations: 6.75 kB / 467.7 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3996, allocations: 7.031 kB / 467.7 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.4018, allocations: 2.126 MB / 469.8 MB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.4021, allocations: 194 kB / 470 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/0.4022, allocations: 29.33 kB / 470 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.4028, allocations: 53.58 kB / 470.1 MB, free: 39.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4029, allocations: 84.2 kB / 470.2 MB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.403, allocations: 41.34 kB / 470.2 MB, free: 39.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.4032, allocations: 245.8 kB / 470.5 MB, free: 39.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4032, allocations: 3.125 kB / 470.5 MB, free: 39.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008225/0.404, allocations: 192.8 kB / 470.6 MB, free: 39.66 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.4042, allocations: 134 kB / 470.8 MB, free: 39.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.4056, allocations: 0.8763 MB / 471.7 MB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4056, allocations: 0 / 471.7 MB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007142/0.4063, allocations: 0.5027 MB / 472.2 MB, free: 39.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.4072, allocations: 98.66 kB / 472.3 MB, free: 39.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.4104, allocations: 2.65 MB / 474.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4108, allocations: 0.9635 MB / 475.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.4112, allocations: 104.8 kB / 476 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4114, allocations: 63.73 kB / 476 MB, free: 36.6 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4114, allocations: 0 / 476 MB, free: 36.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01116/0.4225, allocations: 6.423 MB / 482.5 MB, free: 36.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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