Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 110.3 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4204/0.4204, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.376, allocations: 62.02 MB / 0.5151 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004205/0.3802, allocations: 4.155 MB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3823, allocations: 1.099 MB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.3826, allocations: 14.72 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3829, allocations: 71.06 kB / 0.5204 GB, free: 33.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.3833, allocations: 180.5 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.3837, allocations: 166.7 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.3843, allocations: 0.7471 MB / 0.5214 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.3846, allocations: 211.8 kB / 0.5216 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.3849, allocations: 281.3 kB / 0.5219 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3852, allocations: 331.9 kB / 0.5222 GB, free: 32.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.3853, allocations: 41.09 kB / 0.5222 GB, free: 32.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3855, allocations: 71.06 kB / 0.5223 GB, free: 32.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.3856, allocations: 126.4 kB / 0.5224 GB, free: 32.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.3858, allocations: 328.7 kB / 0.5227 GB, free: 32.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.3863, allocations: 0.7271 MB / 0.5235 GB, free: 32.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3863, allocations: 0 / 0.5235 GB, free: 32.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3863, allocations: 3.938 kB / 0.5235 GB, free: 32.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3863, allocations: 0 / 0.5235 GB, free: 32.38 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.001675/0.388, allocations: 1.002 MB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3881, allocations: 10.81 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.3886, allocations: 138.5 kB / 0.5246 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.3891, allocations: 390 kB / 0.5249 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3891, allocations: 46.19 kB / 0.525 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.3892, allocations: 64.06 kB / 0.5251 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.3902, allocations: 0.6335 MB / 0.5257 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.3902, allocations: 6.531 kB / 0.5257 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.3903, allocations: 23.59 kB / 0.5257 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3903, allocations: 14.06 kB / 0.5257 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3913, allocations: 0.5329 MB / 0.5262 GB, free: 30.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.3939, allocations: 2.162 MB / 0.5283 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.395, allocations: 0.7003 MB / 0.529 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.3955, allocations: 343.1 kB / 0.5294 GB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3957, allocations: 100.4 kB / 0.5295 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3957, allocations: 44.78 kB / 0.5295 GB, free: 28.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.497e-06/0.3957, allocations: 0 / 0.5295 GB, free: 28.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.007064/0.4028, allocations: 4.496 MB / 0.5339 GB, free: 25.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.4029, allocations: 230.4 kB / 0.5341 GB, free: 25.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.4032, allocations: 368.1 kB / 0.5345 GB, free: 25.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4033, allocations: 42.95 kB / 0.5345 GB, free: 25.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.4034, allocations: 262.8 kB / 0.5347 GB, free: 25.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.4036, allocations: 410.4 kB / 0.5351 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4038, allocations: 180.6 kB / 0.5353 GB, free: 24.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.4039, allocations: 379.7 kB / 0.5357 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.4045, allocations: 319.4 kB / 0.536 GB, free: 24.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.4051, allocations: 0.5053 MB / 0.5365 GB, free: 23.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.4064, allocations: 0.8679 MB / 0.5373 GB, free: 23.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4064, allocations: 0 / 0.5373 GB, free: 23.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001512/0.4079, allocations: 1.016 MB / 0.5383 GB, free: 22.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.408, allocations: 13.75 kB / 0.5383 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.408, allocations: 5.375 kB / 0.5383 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.408, allocations: 9.75 kB / 0.5383 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4093, allocations: 280.5 kB / 0.5386 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.4093, allocations: 12.44 kB / 0.5386 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.4098, allocations: 48.36 kB / 0.5387 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.4099, allocations: 46.59 kB / 0.5387 GB, free: 22.91 MB / 378.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.0003475/0.4102, allocations: 229 kB / 0.5389 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.4106, allocations: 76.69 kB / 0.539 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.4111, allocations: 227.3 kB / 0.5392 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4111, allocations: 12.16 kB / 0.5392 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.4111, allocations: 5.656 kB / 0.5392 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4111, allocations: 9.812 kB / 0.5392 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.4148, allocations: 2.343 MB / 0.5415 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4148, allocations: 4.562 kB / 0.5415 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4159, allocations: 246.8 kB / 0.5418 GB, free: 21.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.4159, allocations: 8.906 kB / 0.5418 GB, free: 21.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.416, allocations: 37.62 kB / 0.5418 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.416, allocations: 12.8 kB / 0.5418 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.416, allocations: 4.375 kB / 0.5418 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009551/0.4256, allocations: 5.253 MB / 0.547 GB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.426, allocations: 192.8 kB / 0.5471 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.426, allocations: 26.2 kB / 0.5472 GB, free: 17.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.4266, allocations: 47.52 kB / 0.5472 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.4269, allocations: 81.59 kB / 0.5473 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.4269, allocations: 35.81 kB / 0.5473 GB, free: 17.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002692/0.4272, allocations: 251 kB / 0.5476 GB, free: 17.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4272, allocations: 0 / 0.5476 GB, free: 17.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001125/0.4283, allocations: 252.3 kB / 0.5478 GB, free: 17.58 MB / 378.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.0001953/0.4285, allocations: 137.7 kB / 0.5479 GB, free: 17.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.4304, allocations: 0.8396 MB / 0.5488 GB, free: 17.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4304, allocations: 3.938 kB / 0.5488 GB, free: 17.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.4313, allocations: 493 kB / 0.5492 GB, free: 17.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4326, allocations: 130.6 kB / 0.5494 GB, free: 17.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.4365, allocations: 3.068 MB / 0.5524 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.4371, allocations: 0.9647 MB / 0.5533 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005485/0.4376, allocations: 112.1 kB / 0.5534 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.4378, allocations: 70.22 kB / 0.5535 GB, free: 14.08 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4378, allocations: 0 / 0.5535 GB, free: 14.08 MB / 378.7 MB Notification: Performance of Templates: time 0.01417/0.452, allocations: 7.972 MB / 0.5613 GB, free: 9.066 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches