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.001141/0.001141, allocations: 175.3 kB / 16.77 MB, free: 5.051 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.489/1.489, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007408/0.0007409, allocations: 93.45 kB / 271.3 MB, free: 8.258 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.3365/0.3365, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4926, allocations: 109.2 MB / 0.5866 GB, free: 8.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4929, allocations: 85.8 kB / 0.5867 GB, free: 8.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.58/1.073, allocations: 117 MB / 0.7009 GB, free: 86.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.367e-06/1.073, allocations: 0 / 0.7009 GB, free: 86.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005154/1.073, allocations: 123.7 kB / 0.7011 GB, free: 86.36 MB / 490.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.02135/1.095, allocations: 6.144 MB / 0.7071 GB, free: 83.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.095, allocations: 9.031 kB / 0.7071 GB, free: 83.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/1.116, allocations: 5.319 MB / 0.7123 GB, free: 83.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/1.132, allocations: 6.595 MB / 0.7187 GB, free: 82.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007854/1.133, allocations: 439.4 kB / 0.7191 GB, free: 82.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/1.136, allocations: 0.5786 MB / 0.7197 GB, free: 82.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03319/1.17, allocations: 13.84 MB / 0.7332 GB, free: 78.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006565/1.17, allocations: 91.78 kB / 0.7333 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003055/1.173, allocations: 282.2 kB / 0.7336 GB, free: 78.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/1.175, allocations: 1.32 MB / 0.7349 GB, free: 77.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/1.2, allocations: 11.55 MB / 0.7461 GB, free: 74.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07871/1.279, allocations: 62.12 MB / 0.8068 GB, free: 28.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/1.291, allocations: 5.605 MB / 0.8123 GB, free: 26.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/1.295, allocations: 3.327 MB / 0.8155 GB, free: 24.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/1.296, allocations: 0.6832 MB / 0.8162 GB, free: 24.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.296, allocations: 60.5 kB / 0.8162 GB, free: 24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=254): time 6.302e-06/1.296, allocations: 0 / 0.8162 GB, free: 24 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.08791/1.384, allocations: 33.4 MB / 0.8489 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.384, allocations: 265.4 kB / 0.8491 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.395, allocations: 5.274 MB / 0.8543 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009073/1.396, allocations: 77.7 kB / 0.8543 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003659/1.4, allocations: 4.059 MB / 0.8583 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002154/1.402, allocations: 1.186 MB / 0.8595 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.403, allocations: 155.5 kB / 0.8596 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007843/1.404, allocations: 0.6325 MB / 0.8602 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00646/1.411, allocations: 3.326 MB / 0.8635 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/1.422, allocations: 7.604 MB / 0.8709 GB, free: 108 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2753/1.698, allocations: 11.84 MB / 0.8825 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/1.698, allocations: 46.45 kB / 0.8825 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.0245/1.722, allocations: 12.62 MB / 0.8948 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-05/1.722, allocations: 68.47 kB / 0.8949 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.723, allocations: 150.6 kB / 0.895 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004938/1.728, allocations: 2.122 MB / 0.8971 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/1.735, allocations: 1.765 MB / 0.8988 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02965/1.765, allocations: 14.36 MB / 0.9129 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/1.776, allocations: 455.9 kB / 0.9133 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002726/1.778, allocations: 460.5 kB / 0.9137 GB, free: 94.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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.01119/1.79, allocations: 2.813 MB / 0.9165 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002331/1.792, allocations: 0.4947 MB / 0.917 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/1.815, allocations: 7.085 MB / 0.9239 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.713e-05/1.815, allocations: 40.67 kB / 0.9239 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.397e-05/1.815, allocations: 7.812 kB / 0.9239 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/1.815, allocations: 13.17 kB / 0.9239 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04944/1.865, allocations: 16.09 MB / 0.9397 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-05/1.865, allocations: 8.219 kB / 0.9397 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/1.869, allocations: 0.5064 MB / 0.9402 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00652/1.875, allocations: 1.874 MB / 0.942 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008757/1.876, allocations: 65.16 kB / 0.9421 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/1.901, allocations: 12.85 MB / 0.9546 GB, free: 77.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/1.901, allocations: 11.62 kB / 0.9546 GB, free: 77.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02725/1.928, allocations: 11.3 MB / 0.9657 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004046/1.932, allocations: 1.053 MB / 0.9667 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00211/1.935, allocations: 65.38 kB / 0.9668 GB, free: 72.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005141/1.94, allocations: 220.8 kB / 0.967 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/1.941, allocations: 198.7 kB / 0.9672 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006132/1.942, allocations: 94.95 kB / 0.9672 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009915/1.952, allocations: 3.325 MB / 0.9705 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.52e-07/1.952, allocations: 0 / 0.9705 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01344/1.965, allocations: 1.503 MB / 0.972 GB, free: 70.7 MB / 0.5105 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 (259): * Single equations (assignments): 254 * 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.001344/1.966, allocations: 214.9 kB / 0.9722 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0153/1.982, allocations: 8.295 MB / 0.9803 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.982, allocations: 4 kB / 0.9803 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007236/1.989, allocations: 3.929 MB / 0.9841 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/2.001, allocations: 0.6724 MB / 0.9848 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/2.032, allocations: 16.93 MB / 1.001 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/2.043, allocations: 4.406 MB / 1.006 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00842/2.051, allocations: 2.497 MB / 1.008 GB, free: 42.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/2.053, allocations: 357.3 kB / 1.008 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/2.053, allocations: 0 / 1.008 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.3717/2.425, allocations: 61.04 MB / 1.068 GB, free: 113.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/jenkins1/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