Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001493/0.001493, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001939/0.001939, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9836/0.9836, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.32/0.32, allocations: 32.8 MB / 294.3 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 376 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.241e-05, allocations: 6.312 kB / 376 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01638/0.01642, allocations: 14.2 MB / 390.2 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.03036, allocations: 4.937 MB / 395.2 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005821/0.03618, allocations: 119.4 kB / 395.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009006/0.04519, allocations: 4.458 MB / 399.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008167/0.05335, allocations: 2.472 MB / 402.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.05595, allocations: 1.185 MB / 403.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00958/0.06553, allocations: 8.232 MB / 411.6 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007159/0.07269, allocations: 4.955 MB / 416.6 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006877/0.07957, allocations: 3.539 MB / 420.1 MB, free: 8.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.0846, allocations: 3.527 MB / 423.7 MB, free: 4.695 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.08629, allocations: 0.5 MB / 424.2 MB, free: 4.195 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.08911, allocations: 1.323 MB / 425.5 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002863/0.09197, allocations: 2.961 MB / 428.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00314/0.09511, allocations: 1.881 MB / 430.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.103, allocations: 6.318 MB / 436.6 MB, free: 7.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.103, allocations: 0 / 436.6 MB, free: 7.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.103, allocations: 4 kB / 436.6 MB, free: 7.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003188/0.1033, allocations: 0 / 436.6 MB, free: 7.672 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.01252/0.1159, allocations: 7.507 MB / 444.2 MB, free: 88 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1159, allocations: 8.031 kB / 444.2 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1802/0.2962, allocations: 3.959 MB / 448.1 MB, free: 94.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007721/0.3039, allocations: 3.964 MB / 452.1 MB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.3041, allocations: 323.5 kB / 452.4 MB, free: 94.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.3052, allocations: 451.2 kB / 452.8 MB, free: 94.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.3181, allocations: 7.988 MB / 460.8 MB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.3182, allocations: 67.64 kB / 460.9 MB, free: 90.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.3187, allocations: 206.2 kB / 461.1 MB, free: 90.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003128/0.3218, allocations: 2.532 MB / 463.6 MB, free: 89.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.3339, allocations: 4.419 MB / 468 MB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04795/0.3819, allocations: 55.1 MB / 0.5109 GB, free: 44.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/0.389, allocations: 2.735 MB / 0.5136 GB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.3906, allocations: 1.012 MB / 0.5145 GB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.3909, allocations: 232.5 kB / 0.5148 GB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3909, allocations: 63.39 kB / 0.5148 GB, free: 43.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 5.26e-06/0.391, allocations: 0 / 0.5148 GB, free: 43.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.04771/0.4387, allocations: 24.5 MB / 0.5387 GB, free: 20.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.4387, allocations: 265.3 kB / 0.539 GB, free: 19.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.443, allocations: 4.343 MB / 0.5432 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004701/0.4435, allocations: 77.7 kB / 0.5433 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.4451, allocations: 4.217 MB / 0.5474 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.4462, allocations: 1.267 MB / 0.5487 GB, free: 9.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/0.4477, allocations: 1.699 MB / 0.5503 GB, free: 8.102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.4477, allocations: 476.8 kB / 0.5508 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.4495, allocations: 1.116 MB / 0.5519 GB, free: 6.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.4533, allocations: 7.387 MB / 0.5591 GB, free: 12.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008611/0.4619, allocations: 9.243 MB / 0.5681 GB, free: 320 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/0.4621, allocations: 40 kB / 0.5682 GB, free: 280 kB / 426.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01629/0.4784, allocations: 8.237 MB / 0.5762 GB, free: 7.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.914e-05/0.4785, allocations: 68 kB / 0.5763 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.4786, allocations: 148 kB / 0.5764 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004396/0.483, allocations: 1.758 MB / 0.5781 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/0.4873, allocations: 1.774 MB / 0.5799 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009316/0.4967, allocations: 8.307 MB / 0.588 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/0.5012, allocations: 0.55 MB / 0.5885 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/0.5021, allocations: 455.9 kB / 0.5889 GB, free: 10.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 943 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001985/0.5041, allocations: 0.7655 MB / 0.5897 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.5051, allocations: 0.5439 MB / 0.5902 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006345/0.5114, allocations: 3.925 MB / 0.5941 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.5115, allocations: 36 kB / 0.5941 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/0.5115, allocations: 15.83 kB / 0.5941 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.5115, allocations: 19.88 kB / 0.5941 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1928/0.7043, allocations: 10.26 MB / 0.6041 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.7043, allocations: 5.438 kB / 0.6041 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.7058, allocations: 0.4963 MB / 0.6046 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003645/0.7094, allocations: 1.544 MB / 0.6061 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/0.7097, allocations: 60.64 kB / 0.6062 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007439/0.7172, allocations: 7.027 MB / 0.6131 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.7172, allocations: 10.06 kB / 0.6131 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.7261, allocations: 5.47 MB / 0.6184 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.7274, allocations: 482.5 kB / 0.6189 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.7279, allocations: 55.66 kB / 0.6189 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.7295, allocations: 295.6 kB / 0.6192 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/0.7301, allocations: 218.6 kB / 0.6194 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.7303, allocations: 83.27 kB / 0.6195 GB, free: 113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003099/0.7334, allocations: 1.937 MB / 0.6214 GB, free: 112.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7334, allocations: 0 / 0.6214 GB, free: 112.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005603/0.739, allocations: 1.712 MB / 0.6231 GB, free: 112.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005706/0.7396, allocations: 226.9 kB / 0.6233 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00754/0.7471, allocations: 4.892 MB / 0.628 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7471, allocations: 1.688 kB / 0.628 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.7502, allocations: 1.905 MB / 0.6299 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.7535, allocations: 0.6128 MB / 0.6305 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.7724, allocations: 11.58 MB / 0.6418 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.7745, allocations: 1.736 MB / 0.6435 GB, free: 105.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003806/0.7783, allocations: 2.007 MB / 0.6455 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.7793, allocations: 342.3 kB / 0.6458 GB, free: 105.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.194e-06/0.7793, allocations: 0 / 0.6458 GB, free: 105.4 MB / 458.7 MB Notification: Performance of Templates: time 0.07667/0.856, allocations: 64.03 MB / 0.7083 GB, free: 50.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.25105936313048]