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.001106/0.001106, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 174 kB / 16.57 MB, free: 6.387 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.568/1.568, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3904/0.3904, allocations: 43.54 MB / 314.5 MB, free: 8.746 MB / 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.0005739/0.000574, allocations: 20 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2826/0.4218, allocations: 63.88 MB / 0.4948 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0409/0.4627, allocations: 14.99 MB / 0.5094 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01647/0.4792, allocations: 324.7 kB / 0.5097 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.492, allocations: 3.19 MB / 0.5128 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03845/0.5305, allocations: 9.151 MB / 0.5218 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008452/0.539, allocations: 0.9111 MB / 0.5226 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04559/0.5846, allocations: 27.36 MB / 0.5494 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0126/0.5973, allocations: 6.301 MB / 0.5555 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.6017, allocations: 1.518 MB / 0.557 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/0.6058, allocations: 2.064 MB / 0.559 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.6073, allocations: 208 kB / 0.5592 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.6105, allocations: 0.9793 MB / 0.5602 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003525/0.6141, allocations: 2.287 MB / 0.5624 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.6164, allocations: 1.205 MB / 0.5636 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.6283, allocations: 8.175 MB / 0.5716 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6283, allocations: 0 / 0.5716 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6283, allocations: 0 / 0.5716 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004996/0.6288, allocations: 0 / 0.5716 GB, free: 11.98 MB / 446.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.02069/0.6495, allocations: 6.355 MB / 0.5778 GB, free: 5.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6496, allocations: 12.03 kB / 0.5778 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1575/0.8071, allocations: 14.76 MB / 0.5922 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.8194, allocations: 4.979 MB / 0.5971 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.8198, allocations: 336.6 kB / 0.5974 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.8217, allocations: 459.5 kB / 0.5978 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/0.8524, allocations: 13.59 MB / 0.6111 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003957/0.8529, allocations: 63.42 kB / 0.6111 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002143/0.855, allocations: 219.8 kB / 0.6114 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005109/0.8602, allocations: 2.652 MB / 0.6139 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02378/0.884, allocations: 11.74 MB / 0.6254 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3123/1.196, allocations: 53.88 MB / 0.678 GB, free: 105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/1.213, allocations: 5.823 MB / 0.6837 GB, free: 102.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009741/1.214, allocations: 0.6901 MB / 0.6844 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.214, allocations: 63.08 kB / 0.6844 GB, free: 102.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 6.733e-06/1.214, allocations: 3.984 kB / 0.6844 GB, free: 102.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1131/1.327, allocations: 36.77 MB / 0.7204 GB, free: 84.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.327, allocations: 265.3 kB / 0.7206 GB, free: 84.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009618/1.337, allocations: 5.684 MB / 0.7262 GB, free: 78.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.338, allocations: 69.7 kB / 0.7262 GB, free: 78.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002588/1.34, allocations: 4.046 MB / 0.7302 GB, free: 74.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001907/1.342, allocations: 1.203 MB / 0.7314 GB, free: 73.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/1.344, allocations: 156 kB / 0.7315 GB, free: 73.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007759/1.345, allocations: 0.6286 MB / 0.7321 GB, free: 72.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006201/1.351, allocations: 3.439 MB / 0.7355 GB, free: 69.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00854/1.359, allocations: 7.667 MB / 0.743 GB, free: 59.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007512/1.367, allocations: 5.067 MB / 0.7479 GB, free: 54.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.367, allocations: 40 kB / 0.748 GB, free: 54.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02409/1.391, allocations: 12.89 MB / 0.7605 GB, free: 41.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.391, allocations: 68.94 kB / 0.7606 GB, free: 41.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/1.392, allocations: 148 kB / 0.7607 GB, free: 41.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005275/1.397, allocations: 2.274 MB / 0.763 GB, free: 38.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00613/1.403, allocations: 1.762 MB / 0.7647 GB, free: 36.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.421, allocations: 15.77 MB / 0.7801 GB, free: 20.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007667/1.429, allocations: 461.4 kB / 0.7805 GB, free: 20.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/1.43, allocations: 459.9 kB / 0.781 GB, free: 20.06 MB / 494.1 MB 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 (931): * Single equations (assignments): 926 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006116/1.437, allocations: 2.825 MB / 0.7837 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.438, allocations: 0.4937 MB / 0.7842 GB, free: 16.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.451, allocations: 7.416 MB / 0.7914 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/1.451, allocations: 34.27 kB / 0.7915 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/1.451, allocations: 12 kB / 0.7915 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.665e-05/1.451, allocations: 19.94 kB / 0.7915 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03242/1.483, allocations: 16.68 MB / 0.8078 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/1.483, allocations: 8 kB / 0.8078 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.486, allocations: 0.5148 MB / 0.8083 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005248/1.491, allocations: 2.012 MB / 0.8103 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005181/1.492, allocations: 64 kB / 0.8103 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2378/1.73, allocations: 14.22 MB / 0.8242 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.73, allocations: 5.656 kB / 0.8242 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.747, allocations: 12.69 MB / 0.8366 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003634/1.751, allocations: 1.108 MB / 0.8377 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.752, allocations: 66.55 kB / 0.8378 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/1.756, allocations: 223.7 kB / 0.838 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006446/1.757, allocations: 204.2 kB / 0.8382 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.757, allocations: 90.11 kB / 0.8383 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005938/1.763, allocations: 3.652 MB / 0.8418 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/1.763, allocations: 2.75 kB / 0.8418 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00973/1.773, allocations: 1.537 MB / 0.8433 GB, free: 134.5 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/1.774, allocations: 229.8 kB / 0.8435 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01627/1.79, allocations: 8.557 MB / 0.8519 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/1.79, allocations: 1.281 kB / 0.8519 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009569/1.8, allocations: 4.117 MB / 0.8559 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005123/1.805, allocations: 0.6216 MB / 0.8565 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/1.839, allocations: 17.09 MB / 0.8732 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009167/1.848, allocations: 4.549 MB / 0.8777 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008114/1.857, allocations: 2.521 MB / 0.8801 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.859, allocations: 362.9 kB / 0.8805 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/1.859, allocations: 0 / 0.8805 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1126/1.971, allocations: 63.49 MB / 0.9425 GB, free: 57.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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