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.001588/0.001588, allocations: 97.91 kB / 16.27 MB, free: 5.93 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.001379/0.001379, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.811/1.811, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2349/0.2349, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001833/0.001833, allocations: 69.95 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1495, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.0169/0.1664, allocations: 15.23 MB / 455.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.1799, allocations: 5.082 MB / 460.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004868/0.1848, allocations: 103.6 kB / 460.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009201/0.1941, allocations: 4.174 MB / 465.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008311/0.2025, allocations: 2.419 MB / 467.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.2057, allocations: 1.088 MB / 468.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01203/0.2178, allocations: 6.857 MB / 475.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009619/0.2275, allocations: 5.221 MB / 480.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.2326, allocations: 2.309 MB / 483 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006731/0.2394, allocations: 3.154 MB / 486.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002657/0.2421, allocations: 0.5039 MB / 486.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005275/0.2474, allocations: 1.377 MB / 488 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004745/0.2522, allocations: 2.86 MB / 490.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00852/0.2607, allocations: 3.251 MB / 494.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.2775, allocations: 9.895 MB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2775, allocations: 0 / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2775, allocations: 0 / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004936/0.278, allocations: 0 / 0.4922 GB, free: 7.098 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.02551/0.3036, allocations: 7.047 MB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.3036, allocations: 11.89 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02933/0.333, allocations: 3.366 MB / 0.5024 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.3487, allocations: 4.564 MB / 0.5069 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/0.3493, allocations: 333 kB / 0.5072 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002727/0.3521, allocations: 455.6 kB / 0.5076 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/0.3885, allocations: 13.58 MB / 0.5209 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005628/0.3891, allocations: 75.31 kB / 0.521 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002527/0.3917, allocations: 211.8 kB / 0.5212 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005613/0.3973, allocations: 2.656 MB / 0.5238 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3425/0.7398, allocations: 11.81 MB / 0.5353 GB, free: 78.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06822/0.808, allocations: 54.34 MB / 0.5884 GB, free: 37.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.8207, allocations: 5.77 MB / 0.594 GB, free: 31.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003795/0.8245, allocations: 3.547 MB / 0.5974 GB, free: 27.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.8251, allocations: 0.6847 MB / 0.5981 GB, free: 26.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.8252, allocations: 72.42 kB / 0.5982 GB, free: 26.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=254): time 5.671e-06/0.8252, allocations: 0 / 0.5982 GB, free: 26.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=324): time 0.09527/0.9205, allocations: 37.23 MB / 0.6345 GB, free: 5.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.9206, allocations: 269.3 kB / 0.6348 GB, free: 5.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008734/0.9294, allocations: 5.32 MB / 0.64 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001015/0.9304, allocations: 77.7 kB / 0.6401 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003504/0.9339, allocations: 3.992 MB / 0.644 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00237/0.9363, allocations: 1.206 MB / 0.6451 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002618/0.939, allocations: 1.63 MB / 0.6467 GB, free: 8.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9391, allocations: 301.1 kB / 0.647 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006092/0.9452, allocations: 3.693 MB / 0.6506 GB, free: 4.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/0.9571, allocations: 7.976 MB / 0.6584 GB, free: 10.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/0.9742, allocations: 12.5 MB / 0.6706 GB, free: 12.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/0.9744, allocations: 44 kB / 0.6707 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.03284/1.007, allocations: 13.98 MB / 0.6843 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.007, allocations: 72.25 kB / 0.6844 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/1.008, allocations: 148 kB / 0.6845 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007212/1.015, allocations: 2.771 MB / 0.6872 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/1.022, allocations: 1.829 MB / 0.689 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/1.045, allocations: 17.82 MB / 0.7064 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007785/1.052, allocations: 479.2 kB / 0.7069 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.054, allocations: 463.9 kB / 0.7073 GB, free: 6.305 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.007053/1.061, allocations: 2.841 MB / 0.7101 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.063, allocations: 497.6 kB / 0.7106 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.079, allocations: 8.164 MB / 0.7185 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/1.079, allocations: 32 kB / 0.7186 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/1.079, allocations: 19.92 kB / 0.7186 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/1.079, allocations: 12.05 kB / 0.7186 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3432/1.422, allocations: 17.41 MB / 0.7356 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/1.422, allocations: 8.781 kB / 0.7356 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/1.425, allocations: 0.5123 MB / 0.7361 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007001/1.432, allocations: 2.497 MB / 0.7386 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004939/1.432, allocations: 69.31 kB / 0.7386 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/1.451, allocations: 15.83 MB / 0.7541 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.451, allocations: 15.5 kB / 0.7541 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/1.469, allocations: 12.76 MB / 0.7665 GB, free: 160.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002957/1.472, allocations: 1.108 MB / 0.7676 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006708/1.473, allocations: 66.05 kB / 0.7677 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.475, allocations: 235.6 kB / 0.7679 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007117/1.476, allocations: 205.9 kB / 0.7681 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/1.476, allocations: 93.64 kB / 0.7682 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004266/1.48, allocations: 3.367 MB / 0.7715 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.48, allocations: 0 / 0.7715 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006424/1.487, allocations: 1.579 MB / 0.773 GB, free: 156.2 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.0005708/1.487, allocations: 215.7 kB / 0.7732 GB, free: 156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01826/1.506, allocations: 12.87 MB / 0.7858 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.506, allocations: 7.906 kB / 0.7858 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004216/1.51, allocations: 3.567 MB / 0.7893 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.514, allocations: 0.6774 MB / 0.79 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/1.538, allocations: 15.12 MB / 0.8047 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004216/1.542, allocations: 4.413 MB / 0.809 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006272/1.548, allocations: 2.512 MB / 0.8115 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.55, allocations: 355.3 kB / 0.8118 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/1.55, allocations: 0 / 0.8118 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1051/1.655, allocations: 70.19 MB / 0.8804 GB, free: 47.79 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/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