Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008152, allocations: 93.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3369/0.3369, allocations: 43.56 MB / 362.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005501, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1407, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2684/0.4092, allocations: 26.72 MB / 0.5048 GB, free: 31.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.4246, allocations: 6.502 MB / 0.5112 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006418/0.431, allocations: 116.7 kB / 0.5113 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.4353, allocations: 1.283 MB / 0.5126 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.4525, allocations: 4.056 MB / 0.5165 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.4556, allocations: 413.8 kB / 0.5169 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008229/0.4639, allocations: 4.369 MB / 0.5212 GB, free: 23.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/0.469, allocations: 2.216 MB / 0.5233 GB, free: 22.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.4714, allocations: 1.066 MB / 0.5244 GB, free: 22.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.474, allocations: 1.75 MB / 0.5261 GB, free: 21.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005801/0.4746, allocations: 134 kB / 0.5262 GB, free: 21.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.4768, allocations: 0.8986 MB / 0.5271 GB, free: 21.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.4785, allocations: 1.577 MB / 0.5286 GB, free: 21.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008696/0.4793, allocations: 0.7691 MB / 0.5294 GB, free: 20.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007287/0.4866, allocations: 4.894 MB / 0.5342 GB, free: 19.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.4867, allocations: 2.141 kB / 0.5342 GB, free: 19.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4867, allocations: 0 / 0.5342 GB, free: 19.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002205/0.4869, allocations: 0 / 0.5342 GB, free: 19.67 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.008379/0.4953, allocations: 3.609 MB / 0.5377 GB, free: 17.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4953, allocations: 8.906 kB / 0.5377 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.5067, allocations: 3.263 MB / 0.5409 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.5124, allocations: 2.135 MB / 0.543 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.5126, allocations: 189.3 kB / 0.5432 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.5139, allocations: 345.6 kB / 0.5435 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.5333, allocations: 10.76 MB / 0.554 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.93e-05/0.5335, allocations: 32.3 kB / 0.554 GB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.5339, allocations: 121.1 kB / 0.5541 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003755/0.5376, allocations: 2.562 MB / 0.5566 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.5567, allocations: 10.25 MB / 0.5667 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0643/0.6211, allocations: 35.86 MB / 0.6017 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008962/0.6301, allocations: 4.425 MB / 0.606 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/0.6339, allocations: 2.197 MB / 0.6081 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.6353, allocations: 1.311 MB / 0.6094 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.6354, allocations: 60.66 kB / 0.6095 GB, free: 14.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 6.262e-06/0.6354, allocations: 3.938 kB / 0.6095 GB, free: 14.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=261): time 0.04361/0.679, allocations: 17.03 MB / 0.6261 GB, free: 13.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001384/0.6805, allocations: 1.531 MB / 0.6276 GB, free: 11.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.6846, allocations: 2.759 MB / 0.6303 GB, free: 9.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004043/0.685, allocations: 53.7 kB / 0.6304 GB, free: 9.031 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.6868, allocations: 2.748 MB / 0.633 GB, free: 6.242 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.688, allocations: 0.9597 MB / 0.634 GB, free: 5.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.6882, allocations: 112 kB / 0.6341 GB, free: 5.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003827/0.6886, allocations: 0.5539 MB / 0.6346 GB, free: 4.598 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.6926, allocations: 2.459 MB / 0.637 GB, free: 2.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006275/0.6989, allocations: 5.506 MB / 0.6424 GB, free: 11.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005518/0.7044, allocations: 3.673 MB / 0.646 GB, free: 7.469 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/0.7045, allocations: 32 kB / 0.646 GB, free: 7.438 MB / 474.7 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02277/0.7273, allocations: 9.828 MB / 0.6556 GB, free: 13.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/0.7274, allocations: 51.95 kB / 0.6557 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01379/0.7412, allocations: 4.894 MB / 0.6604 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/0.7528, allocations: 2.39 MB / 0.6628 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/0.7583, allocations: 1.31 MB / 0.6641 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009599/0.768, allocations: 5.839 MB / 0.6698 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00598/0.774, allocations: 399.6 kB / 0.6701 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/0.7757, allocations: 332 kB / 0.6705 GB, free: 14.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006324/0.7821, allocations: 2.118 MB / 0.6725 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/0.7828, allocations: 280.3 kB / 0.6728 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.7936, allocations: 5.432 MB / 0.6781 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009919/0.8036, allocations: 4.692 MB / 0.6827 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.8037, allocations: 4 kB / 0.6827 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/0.8037, allocations: 7.969 kB / 0.6827 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3356/1.139, allocations: 14.71 MB / 0.6971 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/1.139, allocations: 9.281 kB / 0.6971 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.142, allocations: 427.5 kB / 0.6975 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004449/1.146, allocations: 1.243 MB / 0.6987 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006187/1.147, allocations: 66.2 kB / 0.6988 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/1.151, allocations: 4.445 MB / 0.7031 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008187/1.152, allocations: 1.471 MB / 0.7045 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.166, allocations: 8.136 MB / 0.7125 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.167, allocations: 345.1 kB / 0.7128 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/1.168, allocations: 53.52 kB / 0.7129 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.169, allocations: 199.9 kB / 0.713 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/1.17, allocations: 167.5 kB / 0.7132 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.17, allocations: 81.66 kB / 0.7133 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003085/1.173, allocations: 1.688 MB / 0.7149 GB, free: 142 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.01e-07/1.173, allocations: 0 / 0.7149 GB, free: 142 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006354/1.179, allocations: 1.079 MB / 0.716 GB, free: 141.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007198/1.18, allocations: 199.9 kB / 0.7162 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.194, allocations: 6.543 MB / 0.7226 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.217e-05/1.194, allocations: 4.094 kB / 0.7226 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005736/1.199, allocations: 2.9 MB / 0.7254 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.203, allocations: 390.4 kB / 0.7258 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.228, allocations: 13.03 MB / 0.7385 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/1.231, allocations: 3.302 MB / 0.7417 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.232, allocations: 276 kB / 0.742 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/1.232, allocations: 0 / 0.742 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.4088/1.641, allocations: 132.9 MB / 0.8718 GB, free: 150.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches