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.001035/0.001035, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.0009552/0.0009552, allocations: 161 kB / 24.56 MB, free: 40 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.637 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.2958/0.2958, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.894e-06/1.894e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.432e-05, allocations: 9.344 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01203/0.01205, allocations: 14.21 MB / 390.2 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009552/0.0216, allocations: 4.933 MB / 395.2 MB, free: 1.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.02351, allocations: 119.4 kB / 395.3 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004431/0.02794, allocations: 4.458 MB / 399.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.0324, allocations: 2.484 MB / 402.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.03434, allocations: 1.181 MB / 403.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007691/0.04203, allocations: 8.235 MB / 411.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005466/0.04749, allocations: 4.951 MB / 416.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.05298, allocations: 4.624 MB / 421.2 MB, free: 7.258 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.05691, allocations: 3.379 MB / 424.6 MB, free: 3.871 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009699/0.05788, allocations: 496 kB / 425.1 MB, free: 3.387 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.05968, allocations: 1.311 MB / 426.4 MB, free: 2.074 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.06141, allocations: 2.942 MB / 429.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.06332, allocations: 1.858 MB / 431.2 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.06823, allocations: 6.24 MB / 437.4 MB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.06824, allocations: 0 / 437.4 MB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.06824, allocations: 0 / 437.4 MB, free: 7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.653e-05/0.06829, allocations: 4 kB / 437.4 MB, free: 6.996 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.2029/0.2712, allocations: 7.502 MB / 444.9 MB, free: 94.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2712, allocations: 11.59 kB / 445 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/0.2846, allocations: 3.887 MB / 448.8 MB, free: 94.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.2917, allocations: 3.623 MB / 452.5 MB, free: 93.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.2919, allocations: 325.5 kB / 452.8 MB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000999/0.2929, allocations: 453.4 kB / 453.2 MB, free: 93.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.3074, allocations: 7.961 MB / 461.2 MB, free: 89.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.3076, allocations: 65.09 kB / 461.3 MB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004386/0.3081, allocations: 202.4 kB / 461.5 MB, free: 89.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001915/0.31, allocations: 2.298 MB / 463.7 MB, free: 89.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.3211, allocations: 4.02 MB / 467.8 MB, free: 88.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04692/0.368, allocations: 55.21 MB / 0.5107 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006104/0.3741, allocations: 2.284 MB / 0.513 GB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3753, allocations: 0.6555 MB / 0.5136 GB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006607/0.3819, allocations: 4.608 MB / 0.5181 GB, free: 38.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.3819, allocations: 65.08 kB / 0.5182 GB, free: 38.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 6.092e-06/0.3819, allocations: 4 kB / 0.5182 GB, free: 38.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.04155/0.4235, allocations: 21.55 MB / 0.5392 GB, free: 18.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.4236, allocations: 260.6 kB / 0.5395 GB, free: 18.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/0.4285, allocations: 4.631 MB / 0.544 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004465/0.429, allocations: 60.83 kB / 0.544 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.4311, allocations: 4.448 MB / 0.5484 GB, free: 9.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.4321, allocations: 0.9024 MB / 0.5493 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.4336, allocations: 1.632 MB / 0.5509 GB, free: 6.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4337, allocations: 480.8 kB / 0.5513 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.4352, allocations: 0.8776 MB / 0.5522 GB, free: 5.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005464/0.4406, allocations: 7.711 MB / 0.5597 GB, free: 10.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.4528, allocations: 9.317 MB / 0.5688 GB, free: 13.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002725/0.453, allocations: 44 kB / 0.5688 GB, free: 13.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.01637/0.4694, allocations: 7.136 MB / 0.5758 GB, free: 6.785 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.4695, allocations: 72.19 kB / 0.5759 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/0.4697, allocations: 164.1 kB / 0.576 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.4722, allocations: 0.8965 MB / 0.5769 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/0.4767, allocations: 1.766 MB / 0.5786 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.483, allocations: 5.091 MB / 0.5836 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00609/0.4891, allocations: 0.5188 MB / 0.5841 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/0.4905, allocations: 452.8 kB / 0.5845 GB, free: 13.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (950): * Single equations (assignments): 945 * 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,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003377/0.4939, allocations: 0.7841 MB / 0.5853 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/0.4953, allocations: 0.4893 MB / 0.5858 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.499, allocations: 2.139 MB / 0.5879 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/0.4991, allocations: 27.98 kB / 0.5879 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.4991, allocations: 8 kB / 0.5879 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4991, allocations: 7.969 kB / 0.5879 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.5143, allocations: 7.925 MB / 0.5957 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.5144, allocations: 8 kB / 0.5957 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.5153, allocations: 351.4 kB / 0.596 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.5171, allocations: 0.6274 MB / 0.5966 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.5173, allocations: 48 kB / 0.5967 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2424/0.7597, allocations: 4.693 MB / 0.6012 GB, free: 116.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.7597, allocations: 11.66 kB / 0.6013 GB, free: 116.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/0.7653, allocations: 3.603 MB / 0.6048 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.7666, allocations: 458.9 kB / 0.6052 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/0.7672, allocations: 46.94 kB / 0.6053 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.7686, allocations: 191.5 kB / 0.6054 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/0.769, allocations: 158.8 kB / 0.6056 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.7691, allocations: 67.27 kB / 0.6057 GB, free: 115.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003284/0.7724, allocations: 2.033 MB / 0.6076 GB, free: 115.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7724, allocations: 0 / 0.6076 GB, free: 115.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005787/0.7782, allocations: 1.458 MB / 0.6091 GB, free: 115.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (176): * Single equations (assignments): 171 * 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,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006862/0.7789, allocations: 214.2 kB / 0.6093 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007218/0.7861, allocations: 4.066 MB / 0.6132 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/0.7861, allocations: 3.312 kB / 0.6132 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.7879, allocations: 1.258 MB / 0.6145 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.7914, allocations: 0.597 MB / 0.6151 GB, free: 114.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/0.8125, allocations: 10.67 MB / 0.6255 GB, free: 109.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.8159, allocations: 1.664 MB / 0.6271 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004984/0.8209, allocations: 1.911 MB / 0.629 GB, free: 109.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.8224, allocations: 305.5 kB / 0.6293 GB, free: 109.3 MB / 458.7 MB Notification: Performance of SimCode: time 5.22e-06/0.8224, allocations: 0 / 0.6293 GB, free: 109.3 MB / 458.7 MB Notification: Performance of Templates: time 0.07666/0.8991, allocations: 45.79 MB / 0.674 GB, free: 81.68 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.320509082172066]