Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 111.7 kB / 17.04 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2514/0.2514, allocations: 43.52 MB / 314.7 MB, free: 500 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 65.8 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1409, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01666/0.1577, allocations: 15.23 MB / 457.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.1709, allocations: 5.078 MB / 462.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.1745, allocations: 103.6 kB / 462.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00813/0.1827, allocations: 4.178 MB / 466.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.193, allocations: 2.419 MB / 469 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.1961, allocations: 1.088 MB / 470.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01477/0.2109, allocations: 6.86 MB / 476.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007617/0.2185, allocations: 5.221 MB / 482.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005667/0.2243, allocations: 2.309 MB / 484.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005915/0.2302, allocations: 3.158 MB / 487.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.2316, allocations: 0.5038 MB / 488.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.235, allocations: 1.377 MB / 489.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003336/0.2384, allocations: 2.856 MB / 492.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00466/0.2431, allocations: 3.255 MB / 495.6 MB, free: 304 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.2563, allocations: 10.18 MB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.2563, allocations: 0 / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2563, allocations: 3.938 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003049/0.2566, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.01905/0.2757, allocations: 7.039 MB / 0.5008 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.2758, allocations: 15.89 kB / 0.5008 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02374/0.2995, allocations: 3.359 MB / 0.5041 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.3128, allocations: 4.665 MB / 0.5087 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.3132, allocations: 333 kB / 0.509 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.3152, allocations: 459.5 kB / 0.5094 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02789/0.3431, allocations: 13.58 MB / 0.5227 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/0.3434, allocations: 71.33 kB / 0.5227 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006023/0.344, allocations: 207.8 kB / 0.5229 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/0.3486, allocations: 2.652 MB / 0.5255 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3744/0.7231, allocations: 11.82 MB / 0.5371 GB, free: 78.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07605/0.7992, allocations: 54.06 MB / 0.5899 GB, free: 36.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.8117, allocations: 5.764 MB / 0.5955 GB, free: 30.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003874/0.8156, allocations: 3.555 MB / 0.599 GB, free: 26.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.8163, allocations: 0.6942 MB / 0.5996 GB, free: 26.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.8163, allocations: 64.06 kB / 0.5997 GB, free: 25.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=254): time 4.799e-06/0.8163, allocations: 0 / 0.5997 GB, free: 25.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=324): time 0.09751/0.9138, allocations: 37.22 MB / 0.6361 GB, free: 4.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/0.9141, allocations: 269.3 kB / 0.6363 GB, free: 4.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009698/0.9238, allocations: 5.32 MB / 0.6415 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001166/0.925, allocations: 77.7 kB / 0.6416 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003638/0.9286, allocations: 3.985 MB / 0.6455 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002276/0.9309, allocations: 1.21 MB / 0.6467 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/0.9336, allocations: 1.634 MB / 0.6482 GB, free: 8.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9338, allocations: 305.1 kB / 0.6485 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005618/0.9394, allocations: 3.697 MB / 0.6522 GB, free: 4.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009761/0.9492, allocations: 7.972 MB / 0.6599 GB, free: 10.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/0.9712, allocations: 12.5 MB / 0.6721 GB, free: 11.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002235/0.9715, allocations: 43.94 kB / 0.6722 GB, free: 11.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.03542/1.007, allocations: 13.98 MB / 0.6858 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/1.007, allocations: 68 kB / 0.6859 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002685/1.007, allocations: 148 kB / 0.686 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007371/1.015, allocations: 2.76 MB / 0.6887 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007149/1.022, allocations: 1.829 MB / 0.6905 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02596/1.048, allocations: 17.82 MB / 0.7079 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008496/1.057, allocations: 479.2 kB / 0.7084 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002608/1.059, allocations: 459.9 kB / 0.7088 GB, free: 5.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (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 (973): * Single equations (assignments): 968 * 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%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008465/1.068, allocations: 2.834 MB / 0.7116 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002514/1.07, allocations: 0.4898 MB / 0.7121 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/1.087, allocations: 8.168 MB / 0.72 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.869e-05/1.087, allocations: 32.61 kB / 0.7201 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/1.087, allocations: 16 kB / 0.7201 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-05/1.087, allocations: 15.94 kB / 0.7201 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4037/1.491, allocations: 17.32 MB / 0.737 GB, free: 171.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/1.491, allocations: 10.58 kB / 0.737 GB, free: 171.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/1.494, allocations: 0.5162 MB / 0.7375 GB, free: 171.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007145/1.501, allocations: 2.484 MB / 0.7399 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005577/1.502, allocations: 70.47 kB / 0.74 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/1.522, allocations: 15.83 MB / 0.7555 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.522, allocations: 11.75 kB / 0.7555 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.54, allocations: 12.76 MB / 0.7679 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003835/1.544, allocations: 1.108 MB / 0.769 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009981/1.545, allocations: 66.34 kB / 0.7691 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.548, allocations: 229.3 kB / 0.7693 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006767/1.549, allocations: 214.1 kB / 0.7695 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.549, allocations: 88.83 kB / 0.7696 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004684/1.553, allocations: 3.375 MB / 0.7729 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/1.553, allocations: 0 / 0.7729 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007866/1.561, allocations: 1.577 MB / 0.7744 GB, free: 155.7 MB / 0.5137 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 (263): * Single equations (assignments): 258 * 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.0007036/1.562, allocations: 213.2 kB / 0.7746 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.577, allocations: 9.142 MB / 0.7836 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.577, allocations: 4 kB / 0.7836 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004851/1.582, allocations: 3.572 MB / 0.7871 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004888/1.587, allocations: 0.6725 MB / 0.7877 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/1.611, allocations: 14.96 MB / 0.8023 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/1.615, allocations: 4.415 MB / 0.8066 GB, free: 123.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005528/1.621, allocations: 2.508 MB / 0.8091 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.622, allocations: 355.3 kB / 0.8094 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.233e-06/1.622, allocations: 0 / 0.8094 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.1048/1.727, allocations: 63.47 MB / 0.8714 GB, free: 57.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches