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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.001661, allocations: 183 kB / 16.63 MB, free: 5.137 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009857/0.0009857, allocations: 107.3 kB / 269.9 MB, free: 8.43 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.3586/0.3586, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2887/0.4189, allocations: 74.67 MB / 0.5485 GB, free: 16.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03364/0.4526, allocations: 15.01 MB / 0.5632 GB, free: 6.707 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02014/0.4728, allocations: 334.4 kB / 0.5635 GB, free: 6.652 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007257/0.4801, allocations: 4.159 MB / 0.5675 GB, free: 4.719 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008991/0.4891, allocations: 2.27 MB / 0.5698 GB, free: 3.668 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.4923, allocations: 1.001 MB / 0.5707 GB, free: 3.199 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01579/0.5081, allocations: 9.591 MB / 0.5801 GB, free: 400 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008319/0.5164, allocations: 5.051 MB / 0.585 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005364/0.5219, allocations: 2.051 MB / 0.587 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007957/0.5299, allocations: 3.36 MB / 0.5903 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002578/0.5325, allocations: 349.7 kB / 0.5907 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004564/0.5371, allocations: 1.273 MB / 0.5919 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005005/0.5421, allocations: 2.735 MB / 0.5946 GB, free: 7.301 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007402/0.5496, allocations: 3.103 MB / 0.5976 GB, free: 4.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.5655, allocations: 9.754 MB / 0.6071 GB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5655, allocations: 0 / 0.6071 GB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5655, allocations: 0 / 0.6071 GB, free: 10.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004643/0.566, allocations: 3.938 kB / 0.6071 GB, free: 10.39 MB / 426.7 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.02392/0.5899, allocations: 7.047 MB / 0.614 GB, free: 3.262 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/0.59, allocations: 12.03 kB / 0.614 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0294/0.6194, allocations: 3.359 MB / 0.6173 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.6336, allocations: 4.572 MB / 0.6218 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003965/0.6341, allocations: 333.2 kB / 0.6221 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.6365, allocations: 467.5 kB / 0.6225 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/0.6674, allocations: 13.57 MB / 0.6358 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004323/0.6679, allocations: 71.36 kB / 0.6359 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00191/0.6698, allocations: 211.8 kB / 0.6361 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005137/0.675, allocations: 2.656 MB / 0.6386 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02629/0.7013, allocations: 11.82 MB / 0.6502 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3319/1.033, allocations: 54.32 MB / 0.7032 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/1.046, allocations: 5.772 MB / 0.7089 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/1.049, allocations: 3.557 MB / 0.7123 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/1.05, allocations: 0.687 MB / 0.713 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.05, allocations: 57.91 kB / 0.7131 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 5.18e-06/1.05, allocations: 0 / 0.7131 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=324): time 0.09687/1.147, allocations: 37.22 MB / 0.7494 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.147, allocations: 268.9 kB / 0.7497 GB, free: 106 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008456/1.156, allocations: 5.324 MB / 0.7549 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001347/1.157, allocations: 75.44 kB / 0.7549 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002491/1.16, allocations: 3.997 MB / 0.7588 GB, free: 101 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.161, allocations: 1.206 MB / 0.76 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/1.163, allocations: 1.635 MB / 0.7616 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/1.163, allocations: 301.1 kB / 0.7619 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/1.168, allocations: 3.695 MB / 0.7655 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006139/1.174, allocations: 7.974 MB / 0.7733 GB, free: 90.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.187, allocations: 12.5 MB / 0.7855 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001394/1.187, allocations: 40 kB / 0.7856 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02302/1.21, allocations: 13.98 MB / 0.7992 GB, free: 62.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/1.21, allocations: 68 kB / 0.7993 GB, free: 62.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.21, allocations: 144 kB / 0.7994 GB, free: 62.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006401/1.217, allocations: 2.765 MB / 0.8021 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006274/1.223, allocations: 1.829 MB / 0.8039 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/1.242, allocations: 16.61 MB / 0.8201 GB, free: 40.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007467/1.249, allocations: 481.1 kB / 0.8206 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002048/1.252, allocations: 467.7 kB / 0.821 GB, free: 39.98 MB / 0.4948 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.006514/1.258, allocations: 2.824 MB / 0.8238 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/1.26, allocations: 497.6 kB / 0.8243 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/1.278, allocations: 8.172 MB / 0.8322 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.755e-05/1.278, allocations: 40 kB / 0.8323 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/1.278, allocations: 8 kB / 0.8323 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-05/1.278, allocations: 19.94 kB / 0.8323 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0376/1.316, allocations: 17.41 MB / 0.8493 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/1.316, allocations: 12.03 kB / 0.8493 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.318, allocations: 0.5148 MB / 0.8498 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006016/1.325, allocations: 2.487 MB / 0.8522 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000712/1.325, allocations: 64 kB / 0.8523 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/1.344, allocations: 14.76 MB / 0.8667 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/1.344, allocations: 11.94 kB / 0.8667 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4278/1.772, allocations: 90.69 MB / 0.9553 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003857/1.776, allocations: 1.111 MB / 0.9564 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/1.778, allocations: 70.28 kB / 0.9564 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003903/1.782, allocations: 233 kB / 0.9567 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.783, allocations: 211.4 kB / 0.9569 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005552/1.783, allocations: 84.44 kB / 0.957 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006275/1.79, allocations: 3.37 MB / 0.9602 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/1.79, allocations: 0 / 0.9602 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01102/1.801, allocations: 2.149 MB / 0.9623 GB, free: 138.1 MB / 0.5261 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.001042/1.802, allocations: 216.5 kB / 0.9625 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.815, allocations: 9.107 MB / 0.9714 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.815, allocations: 4 kB / 0.9714 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004737/1.82, allocations: 3.574 MB / 0.9749 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006746/1.827, allocations: 0.6371 MB / 0.9756 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/1.86, allocations: 20.57 MB / 0.9956 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008114/1.868, allocations: 4.532 MB / 1 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008501/1.877, allocations: 2.563 MB / 1.003 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/1.879, allocations: 379.3 kB / 1.003 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/1.879, allocations: 0 / 1.003 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.3568/2.236, allocations: 92.12 MB / 1.093 GB, free: 150.8 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches