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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 100.3 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 211.6 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 78.17 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1286, allocations: 61.04 MB / 0.5174 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006062/0.1346, allocations: 3.7 MB / 0.521 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.1375, allocations: 1.079 MB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.1382, allocations: 19.88 kB / 0.522 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.1387, allocations: 103 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008749/0.1395, allocations: 198.2 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.1404, allocations: 195.6 kB / 0.5225 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1416, allocations: 0.7783 MB / 0.5233 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.142, allocations: 160.1 kB / 0.5234 GB, free: 444 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.1426, allocations: 318.9 kB / 0.5237 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.1432, allocations: 310.5 kB / 0.524 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1433, allocations: 60 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.1436, allocations: 80 kB / 0.5242 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1438, allocations: 151.5 kB / 0.5243 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.1442, allocations: 286.6 kB / 0.5246 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.1452, allocations: 0.7779 MB / 0.5253 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1452, allocations: 0 / 0.5253 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1452, allocations: 0 / 0.5253 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.1452, allocations: 0 / 0.5253 GB, free: 14.47 MB / 414.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.002194/0.1474, allocations: 0.941 MB / 0.5263 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1474, allocations: 8.031 kB / 0.5263 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1476, allocations: 80.47 kB / 0.5263 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.1482, allocations: 344.2 kB / 0.5267 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.1483, allocations: 41.69 kB / 0.5267 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1484, allocations: 72.31 kB / 0.5268 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1496, allocations: 0.619 MB / 0.5274 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.1496, allocations: 7.953 kB / 0.5274 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.1497, allocations: 28 kB / 0.5274 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1497, allocations: 12 kB / 0.5274 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1509, allocations: 0.5255 MB / 0.5279 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.1542, allocations: 1.913 MB / 0.5298 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.1556, allocations: 0.6645 MB / 0.5305 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.1563, allocations: 323.1 kB / 0.5308 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1564, allocations: 20.73 kB / 0.5308 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.1565, allocations: 54.92 kB / 0.5308 GB, free: 8.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.1565, allocations: 7.938 kB / 0.5309 GB, free: 8.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.008428/0.1649, allocations: 3.939 MB / 0.5347 GB, free: 4.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.165, allocations: 226.2 kB / 0.5349 GB, free: 4.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.1655, allocations: 378 kB / 0.5353 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.1656, allocations: 49.64 kB / 0.5353 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.1658, allocations: 273.5 kB / 0.5356 GB, free: 3.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.1661, allocations: 424.3 kB / 0.536 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.1664, allocations: 182.9 kB / 0.5362 GB, free: 2.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.1667, allocations: 386.7 kB / 0.5365 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.1674, allocations: 314.4 kB / 0.5368 GB, free: 2.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/0.1682, allocations: 0.5043 MB / 0.5373 GB, free: 1.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1699, allocations: 0.8628 MB / 0.5382 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1699, allocations: 4 kB / 0.5382 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.2473/0.4172, allocations: 1.005 MB / 0.5392 GB, free: 27.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.4172, allocations: 10.59 kB / 0.5392 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4172, allocations: 8.969 kB / 0.5392 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.321e-05/0.4173, allocations: 10.44 kB / 0.5392 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4185, allocations: 282 kB / 0.5395 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.627e-05/0.4186, allocations: 12.44 kB / 0.5395 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.4193, allocations: 48.31 kB / 0.5395 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.4195, allocations: 42.81 kB / 0.5396 GB, free: 27.79 MB / 414.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.0004958/0.42, allocations: 227.6 kB / 0.5398 GB, free: 27.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.4203, allocations: 80.94 kB / 0.5398 GB, free: 27.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.4209, allocations: 215.8 kB / 0.5401 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.4209, allocations: 18.33 kB / 0.5401 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.4209, allocations: 2.469 kB / 0.5401 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.4209, allocations: 8.047 kB / 0.5401 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004306/0.4252, allocations: 2.061 MB / 0.5421 GB, free: 26.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.4252, allocations: 7.312 kB / 0.5421 GB, free: 26.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.4264, allocations: 248.7 kB / 0.5423 GB, free: 26.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.838e-05/0.4264, allocations: 8.031 kB / 0.5423 GB, free: 26.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.4265, allocations: 31.92 kB / 0.5424 GB, free: 26.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.067e-05/0.4265, allocations: 13.28 kB / 0.5424 GB, free: 26.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4265, allocations: 7.781 kB / 0.5424 GB, free: 26.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.4294, allocations: 1.902 MB / 0.5442 GB, free: 26.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.4298, allocations: 134.6 kB / 0.5444 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4299, allocations: 21.64 kB / 0.5444 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/0.4306, allocations: 44.94 kB / 0.5444 GB, free: 26.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.4308, allocations: 87.66 kB / 0.5445 GB, free: 26.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.4308, allocations: 35.55 kB / 0.5446 GB, free: 26.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.4311, allocations: 252.7 kB / 0.5448 GB, free: 25.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4311, allocations: 0 / 0.5448 GB, free: 25.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001055/0.4322, allocations: 197.8 kB / 0.545 GB, free: 25.87 MB / 414.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.0002184/0.4324, allocations: 137.5 kB / 0.5451 GB, free: 25.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.4344, allocations: 0.817 MB / 0.5459 GB, free: 25.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4344, allocations: 1.219 kB / 0.5459 GB, free: 25.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.4353, allocations: 468.5 kB / 0.5464 GB, free: 25.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.4367, allocations: 137.1 kB / 0.5465 GB, free: 25.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.4404, allocations: 2.249 MB / 0.5487 GB, free: 23.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.441, allocations: 351.7 kB / 0.549 GB, free: 23.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.4413, allocations: 69.91 kB / 0.5491 GB, free: 23.83 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4413, allocations: 0 / 0.5491 GB, free: 23.83 MB / 414.1 MB Notification: Performance of Templates: time 0.02341/0.4647, allocations: 9.378 MB / 0.5583 GB, free: 22.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.892137830145657]