Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009384/0.0009384, allocations: 95.03 kB / 297.4 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3709/0.3709, allocations: 44.81 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4188, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5729, allocations: 111.3 MB / 0.6271 GB, free: 10.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5732, allocations: 79.95 kB / 0.6272 GB, free: 9.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5602/1.133, allocations: 118.4 MB / 0.7428 GB, free: 94.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.133, allocations: 0 / 0.7428 GB, free: 94.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002975/1.134, allocations: 114.3 kB / 0.7429 GB, free: 94.75 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: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.0189/1.153, allocations: 6.105 MB / 0.7489 GB, free: 90.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.153, allocations: 9.344 kB / 0.7489 GB, free: 90.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02099/1.174, allocations: 5.301 MB / 0.7541 GB, free: 87.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/1.186, allocations: 5.941 MB / 0.7599 GB, free: 84.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/1.187, allocations: 431.6 kB / 0.7603 GB, free: 84.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002576/1.189, allocations: 0.5736 MB / 0.7608 GB, free: 83.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/1.216, allocations: 13.55 MB / 0.7741 GB, free: 69.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003537/1.216, allocations: 87.34 kB / 0.7742 GB, free: 69.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/1.218, allocations: 271.8 kB / 0.7744 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001441/1.219, allocations: 1.29 MB / 0.7757 GB, free: 68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/1.24, allocations: 11.28 MB / 0.7867 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06593/1.306, allocations: 61.2 MB / 0.8465 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/1.319, allocations: 5.502 MB / 0.8518 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004381/1.323, allocations: 3.27 MB / 0.855 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/1.324, allocations: 0.6838 MB / 0.8557 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/1.324, allocations: 64.55 kB / 0.8558 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 6.212e-06/1.324, allocations: 0 / 0.8558 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311): time 0.4969/1.821, allocations: 32.56 MB / 0.8876 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.821, allocations: 264.5 kB / 0.8878 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/1.837, allocations: 5.173 MB / 0.8929 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009756/1.838, allocations: 72.05 kB / 0.8929 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004245/1.843, allocations: 3.976 MB / 0.8968 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002252/1.845, allocations: 1.157 MB / 0.8979 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/1.847, allocations: 149.1 kB / 0.8981 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001181/1.848, allocations: 0.6264 MB / 0.8987 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008404/1.856, allocations: 3.266 MB / 0.9019 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/1.87, allocations: 7.45 MB / 0.9092 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02113/1.891, allocations: 11.63 MB / 0.9205 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004237/1.891, allocations: 42.28 kB / 0.9206 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.03254/1.924, allocations: 12.43 MB / 0.9327 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/1.924, allocations: 69.03 kB / 0.9328 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003579/1.925, allocations: 145.4 kB / 0.9329 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005424/1.93, allocations: 2.111 MB / 0.935 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006185/1.936, allocations: 1.716 MB / 0.9366 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/1.953, allocations: 14.37 MB / 0.9507 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006897/1.96, allocations: 445.2 kB / 0.9511 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/1.962, allocations: 445 kB / 0.9515 GB, free: 103.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 44 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (909): * Single equations (assignments): 904 * 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.008999/1.971, allocations: 2.764 MB / 0.9542 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/1.972, allocations: 497.2 kB / 0.9547 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.986, allocations: 6.968 MB / 0.9615 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/1.986, allocations: 33.03 kB / 0.9615 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.651e-05/1.986, allocations: 7.5 kB / 0.9615 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.349e-05/1.986, allocations: 16.7 kB / 0.9616 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03037/2.016, allocations: 15.82 MB / 0.977 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/2.016, allocations: 3.531 kB / 0.977 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/2.019, allocations: 0.4934 MB / 0.9775 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004039/2.023, allocations: 1.876 MB / 0.9793 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/2.023, allocations: 64.38 kB / 0.9794 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/2.037, allocations: 12.84 MB / 0.9919 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/2.037, allocations: 15.94 kB / 0.9919 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/2.053, allocations: 11.13 MB / 1.003 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/2.055, allocations: 0.5316 MB / 1.003 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/2.056, allocations: 56 kB / 1.003 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/2.059, allocations: 217.2 kB / 1.004 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/2.059, allocations: 199.7 kB / 1.004 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/2.059, allocations: 91.36 kB / 1.004 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004905/2.064, allocations: 3.258 MB / 1.007 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/2.064, allocations: 0 / 1.007 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007492/2.072, allocations: 1.472 MB / 1.008 GB, free: 65.59 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 (249): * Single equations (assignments): 244 * 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.0006822/2.072, allocations: 212 kB / 1.009 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0125/2.085, allocations: 8.147 MB / 1.017 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/2.085, allocations: 0 / 1.017 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006246/2.091, allocations: 3.88 MB / 1.02 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00934/2.101, allocations: 0.6643 MB / 1.021 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/2.128, allocations: 16.56 MB / 1.037 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005776/2.133, allocations: 4.317 MB / 1.041 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006855/2.14, allocations: 2.451 MB / 1.044 GB, free: 31.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/2.142, allocations: 347.4 kB / 1.044 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/2.142, allocations: 0 / 1.044 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of Templates: time 0.4159/2.557, allocations: 60.26 MB / 1.103 GB, free: 128.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches