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.001985/0.001986, allocations: 105.6 kB / 17.09 MB, free: 6.008 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.002131/0.002131, allocations: 199.3 kB / 18.02 MB, free: 5.09 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.49/1.49, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.218/0.218, allocations: 43.52 MB / 314.8 MB, free: 476 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.001539/0.001539, allocations: 71.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 57.79 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01584/0.1384, allocations: 15.23 MB / 0.5034 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1515, allocations: 5.082 MB / 0.5084 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/0.1552, allocations: 99.69 kB / 0.5085 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008061/0.1633, allocations: 4.17 MB / 0.5126 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007325/0.1707, allocations: 2.431 MB / 0.5149 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.1736, allocations: 1.092 MB / 0.516 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.1841, allocations: 6.864 MB / 0.5227 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008229/0.1924, allocations: 5.221 MB / 0.5278 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.1974, allocations: 2.321 MB / 0.5301 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2808/0.4782, allocations: 3.159 MB / 0.5332 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.4812, allocations: 0.5021 MB / 0.5336 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/0.4865, allocations: 1.389 MB / 0.535 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006686/0.4932, allocations: 2.858 MB / 0.5378 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009297/0.5026, allocations: 3.254 MB / 0.541 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.5187, allocations: 10.18 MB / 0.5509 GB, free: 8.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5187, allocations: 3.375 kB / 0.5509 GB, free: 8.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5188, allocations: 0 / 0.5509 GB, free: 8.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003847/0.5192, allocations: 4.156 kB / 0.5509 GB, free: 8.922 MB / 414.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.02145/0.5406, allocations: 7.045 MB / 0.5578 GB, free: 5.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.5407, allocations: 15.45 kB / 0.5578 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02655/0.5672, allocations: 3.368 MB / 0.5611 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.579, allocations: 4.662 MB / 0.5657 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.5793, allocations: 332.6 kB / 0.566 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/0.5811, allocations: 451.8 kB / 0.5664 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/0.6058, allocations: 13.58 MB / 0.5797 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.6061, allocations: 70.86 kB / 0.5797 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007071/0.6068, allocations: 208.7 kB / 0.5799 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004578/0.6114, allocations: 2.653 MB / 0.5825 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/0.6396, allocations: 11.83 MB / 0.5941 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07959/0.7192, allocations: 54.05 MB / 0.6469 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.7336, allocations: 5.773 MB / 0.6525 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00475/0.7383, allocations: 3.556 MB / 0.656 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008821/0.7392, allocations: 0.6761 MB / 0.6566 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.7393, allocations: 68.22 kB / 0.6567 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 9.017e-06/0.7394, allocations: 0 / 0.6567 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1124/0.8517, allocations: 37.24 MB / 0.6931 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.8519, allocations: 261.4 kB / 0.6933 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008821/0.8607, allocations: 5.327 MB / 0.6985 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009519/0.8617, allocations: 77.7 kB / 0.6986 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.865, allocations: 3.989 MB / 0.7025 GB, free: 10.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/0.8668, allocations: 1.206 MB / 0.7037 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002668/0.8695, allocations: 1.629 MB / 0.7053 GB, free: 7.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8696, allocations: 305.1 kB / 0.7056 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005913/0.8756, allocations: 3.693 MB / 0.7092 GB, free: 3.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009661/0.8853, allocations: 7.973 MB / 0.7169 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/0.9038, allocations: 12.5 MB / 0.7292 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/0.904, allocations: 44 kB / 0.7292 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02919/0.9332, allocations: 13.97 MB / 0.7428 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/0.9334, allocations: 71.94 kB / 0.7429 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.9335, allocations: 148 kB / 0.743 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007168/0.9407, allocations: 2.765 MB / 0.7457 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00698/0.9477, allocations: 1.829 MB / 0.7475 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2962/1.244, allocations: 17.8 MB / 0.7649 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007111/1.251, allocations: 484.1 kB / 0.7654 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/1.253, allocations: 462.9 kB / 0.7658 GB, free: 198.7 MB / 0.5919 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.006701/1.259, allocations: 2.828 MB / 0.7686 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.261, allocations: 494.9 kB / 0.7691 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.276, allocations: 8.177 MB / 0.777 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/1.276, allocations: 17.25 kB / 0.7771 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.276, allocations: 1.969 kB / 0.7771 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003139/1.279, allocations: 1.111 MB / 0.7781 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.28, allocations: 51.28 kB / 0.7782 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/1.283, allocations: 232.2 kB / 0.7784 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006063/1.283, allocations: 222.8 kB / 0.7786 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01434/1.298, allocations: 8.521 MB / 0.7869 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01186/1.309, allocations: 10.45 MB / 0.7972 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003086/1.313, allocations: 2.918 MB / 0.8 GB, free: 186 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004866/1.317, allocations: 3.365 MB / 0.8033 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of Backend: time 3.11e-07/1.318, allocations: 0 / 0.8033 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.331, allocations: 6.848 MB / 0.81 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02356/1.355, allocations: 13.47 MB / 0.8231 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1309/1.486, allocations: 80.73 MB / 0.902 GB, free: 84.54 MB / 0.5919 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/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