Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 83.88 kB / 0.4966 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4055, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01672/0.4222, allocations: 12.75 MB / 0.5736 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4334, allocations: 4.805 MB / 0.5783 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.4362, allocations: 123.3 kB / 0.5785 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008506/0.4447, allocations: 4.038 MB / 0.5824 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009797/0.4545, allocations: 2.404 MB / 0.5847 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.4578, allocations: 1.076 MB / 0.5858 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.47, allocations: 7.169 MB / 0.5928 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006598/0.4766, allocations: 4.024 MB / 0.5967 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.482, allocations: 2.278 MB / 0.5989 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006326/0.4883, allocations: 3.076 MB / 0.602 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4897, allocations: 499.9 kB / 0.6024 GB, free: 9.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.4928, allocations: 1.26 MB / 0.6037 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003355/0.4962, allocations: 2.793 MB / 0.6064 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003968/0.5002, allocations: 2.338 MB / 0.6087 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.5133, allocations: 9.868 MB / 0.6183 GB, free: 9.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5133, allocations: 0 / 0.6183 GB, free: 9.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5133, allocations: 0 / 0.6183 GB, free: 9.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000341/0.5136, allocations: 4 kB / 0.6183 GB, free: 9.199 MB / 462.1 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.01775/0.5314, allocations: 6.953 MB / 0.6251 GB, free: 2.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5314, allocations: 12.03 kB / 0.6251 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02736/0.5588, allocations: 3.355 MB / 0.6284 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.5711, allocations: 4.365 MB / 0.6327 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/0.5715, allocations: 324.8 kB / 0.633 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.5735, allocations: 451.7 kB / 0.6334 GB, free: 9.609 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02548/0.599, allocations: 13.24 MB / 0.6463 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/0.5992, allocations: 71.47 kB / 0.6464 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006946/0.5999, allocations: 207.8 kB / 0.6466 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004827/0.6048, allocations: 2.527 MB / 0.6491 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/0.629, allocations: 11.34 MB / 0.6601 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08366/0.7127, allocations: 48.4 MB / 0.7074 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01451/0.7272, allocations: 4.993 MB / 0.7123 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005129/0.7323, allocations: 3.246 MB / 0.7154 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.733, allocations: 238.3 kB / 0.7157 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.259e-05/0.7331, allocations: 56.56 kB / 0.7157 GB, free: 3.098 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 5.731e-06/0.7331, allocations: 4 kB / 0.7157 GB, free: 3.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.4546/1.188, allocations: 36.24 MB / 0.7511 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/1.188, allocations: 267.1 kB / 0.7514 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006059/1.194, allocations: 4.772 MB / 0.756 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008091/1.195, allocations: 69.64 kB / 0.7561 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/1.197, allocations: 4.064 MB / 0.7601 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.198, allocations: 1.231 MB / 0.7613 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/1.2, allocations: 1.6 MB / 0.7628 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/1.2, allocations: 312.3 kB / 0.7631 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.205, allocations: 3.627 MB / 0.7667 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006211/1.211, allocations: 7.902 MB / 0.7744 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.223, allocations: 12.25 MB / 0.7864 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.224, allocations: 40 kB / 0.7864 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02581/1.249, allocations: 13.67 MB / 0.7997 GB, free: 98.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/1.25, allocations: 68 kB / 0.7998 GB, free: 98.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/1.25, allocations: 147.9 kB / 0.7999 GB, free: 98.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006675/1.256, allocations: 2.747 MB / 0.8026 GB, free: 95.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006176/1.263, allocations: 1.786 MB / 0.8044 GB, free: 93.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/1.283, allocations: 17.36 MB / 0.8213 GB, free: 76.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00668/1.29, allocations: 475.3 kB / 0.8218 GB, free: 75.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.291, allocations: 455.9 kB / 0.8222 GB, free: 75.32 MB / 0.5606 GB 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.005671/1.297, allocations: 2.745 MB / 0.8249 GB, free: 72.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/1.298, allocations: 462.1 kB / 0.8253 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.313, allocations: 7.964 MB / 0.8331 GB, free: 64.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/1.313, allocations: 36 kB / 0.8331 GB, free: 64.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/1.313, allocations: 14.84 kB / 0.8332 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/1.313, allocations: 11.95 kB / 0.8332 GB, free: 64.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/1.341, allocations: 14.97 MB / 0.8478 GB, free: 49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/1.341, allocations: 4 kB / 0.8478 GB, free: 49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.344, allocations: 0.4922 MB / 0.8483 GB, free: 48.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005709/1.349, allocations: 2.491 MB / 0.8507 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/1.35, allocations: 56 kB / 0.8508 GB, free: 45.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/1.367, allocations: 15.54 MB / 0.8659 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.367, allocations: 11.94 kB / 0.866 GB, free: 30.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.385, allocations: 12.54 MB / 0.8782 GB, free: 17.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.386, allocations: 432.7 kB / 0.8786 GB, free: 17.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/1.388, allocations: 60 kB / 0.8787 GB, free: 16.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.391, allocations: 227.6 kB / 0.8789 GB, free: 16.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/1.392, allocations: 213.4 kB / 0.8791 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003677/1.392, allocations: 91.73 kB / 0.8792 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004572/1.396, allocations: 2.811 MB / 0.8819 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.396, allocations: 0 / 0.8819 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007841/1.404, allocations: 1.512 MB / 0.8834 GB, free: 12.13 MB / 0.5606 GB 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.001034/1.405, allocations: 210.2 kB / 0.8836 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.42, allocations: 8.516 MB / 0.8919 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/1.42, allocations: 4.5 kB / 0.8919 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005327/1.425, allocations: 3.335 MB / 0.8952 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005217/1.43, allocations: 0.5845 MB / 0.8958 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/1.461, allocations: 14.79 MB / 0.9102 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008472/1.469, allocations: 3.77 MB / 0.9139 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007369/1.477, allocations: 2.398 MB / 0.9162 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.478, allocations: 327.4 kB / 0.9165 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.478, allocations: 0 / 0.9165 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.4664/1.945, allocations: 67.09 MB / 0.982 GB, free: 212 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.828987369313836]