Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009551/0.000955, allocations: 98.86 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3086/0.3086, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002418, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.285, allocations: 63.24 MB / 0.5192 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4179, allocations: 111.3 MB / 0.6279 GB, free: 8.145 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.4181, allocations: 79.97 kB / 0.6279 GB, free: 8.066 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4694/0.8876, allocations: 98.68 MB / 0.7243 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8876, allocations: 0 / 0.7243 GB, free: 100.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000176/0.8878, allocations: 89.14 kB / 0.7244 GB, free: 100.6 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01628/0.9041, allocations: 4.846 MB / 0.7291 GB, free: 98.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.9042, allocations: 11.75 kB / 0.7291 GB, free: 98.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.9184, allocations: 3.601 MB / 0.7326 GB, free: 97.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.93, allocations: 4.231 MB / 0.7368 GB, free: 96.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004492/0.9305, allocations: 375.7 kB / 0.7371 GB, free: 96.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003267/0.9338, allocations: 486.2 kB / 0.7376 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03003/0.9638, allocations: 12.04 MB / 0.7493 GB, free: 90.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/0.9642, allocations: 35.28 kB / 0.7494 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/0.9663, allocations: 219.3 kB / 0.7496 GB, free: 90.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001614/0.9679, allocations: 1.297 MB / 0.7509 GB, free: 90.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.9867, allocations: 11.34 MB / 0.7619 GB, free: 80.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05147/1.038, allocations: 41.36 MB / 0.8023 GB, free: 38.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00844/1.047, allocations: 4.941 MB / 0.8071 GB, free: 33.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/1.058, allocations: 6.825 MB / 0.8138 GB, free: 25.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/1.058, allocations: 60.48 kB / 0.8139 GB, free: 25.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 5.601e-06/1.058, allocations: 0 / 0.8139 GB, free: 25.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03257/1.091, allocations: 16.63 MB / 0.8301 GB, free: 9.023 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/1.091, allocations: 77.28 kB / 0.8302 GB, free: 8.934 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/1.095, allocations: 2.81 MB / 0.8329 GB, free: 6.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.096, allocations: 57.14 kB / 0.833 GB, free: 6.055 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/1.097, allocations: 3.227 MB / 0.8361 GB, free: 2.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000699/1.098, allocations: 0.8787 MB / 0.837 GB, free: 1.953 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/1.098, allocations: 116 kB / 0.8371 GB, free: 1.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004292/1.099, allocations: 0.5622 MB / 0.8377 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/1.102, allocations: 2.336 MB / 0.8399 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/1.107, allocations: 5.635 MB / 0.8454 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/1.112, allocations: 3.622 MB / 0.849 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.952e-05/1.113, allocations: 32 kB / 0.849 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01537/1.128, allocations: 8.739 MB / 0.8575 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/1.128, allocations: 58.81 kB / 0.8576 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002699/1.128, allocations: 116 kB / 0.8577 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/1.132, allocations: 1.145 MB / 0.8588 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/1.136, allocations: 1.349 MB / 0.8601 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005525/1.142, allocations: 4.651 MB / 0.8647 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/1.146, allocations: 323.7 kB / 0.865 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.147, allocations: 348 kB / 0.8653 GB, free: 3.102 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 721 * Array equations: 6 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.005233/1.152, allocations: 2.368 MB / 0.8676 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/1.153, allocations: 296.2 kB / 0.8679 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007736/1.161, allocations: 4.383 MB / 0.8722 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-05/1.161, allocations: 51.44 kB / 0.8722 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.161, allocations: 4 kB / 0.8723 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/1.161, allocations: 7.969 kB / 0.8723 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/1.181, allocations: 10.36 MB / 0.8824 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.181, allocations: 4.188 kB / 0.8824 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.183, allocations: 380.1 kB / 0.8827 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/1.185, allocations: 0.6735 MB / 0.8834 GB, free: 488 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/1.185, allocations: 47.67 kB / 0.8834 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2597/1.444, allocations: 2.442 MB / 0.8858 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.445, allocations: 6.172 kB / 0.8858 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009234/1.454, allocations: 7.167 MB / 0.8928 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.455, allocations: 345.3 kB / 0.8932 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/1.455, allocations: 42.94 kB / 0.8932 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.457, allocations: 134.2 kB / 0.8933 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/1.457, allocations: 138.5 kB / 0.8935 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.457, allocations: 66.8 kB / 0.8935 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002504/1.459, allocations: 1.892 MB / 0.8954 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.459, allocations: 0 / 0.8954 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003745/1.463, allocations: 1.066 MB / 0.8964 GB, free: 130.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004149/1.464, allocations: 197 kB / 0.8966 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007631/1.471, allocations: 5.73 MB / 0.9022 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.471, allocations: 1.156 kB / 0.9022 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003941/1.475, allocations: 2.38 MB / 0.9045 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.478, allocations: 429.1 kB / 0.9049 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.499, allocations: 13.22 MB / 0.9178 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0046/1.503, allocations: 3.779 MB / 0.9215 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005298/1.509, allocations: 2.018 MB / 0.9235 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/1.509, allocations: 239.9 kB / 0.9237 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.024e-06/1.509, allocations: 0 / 0.9237 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.05567/1.565, allocations: 33.8 MB / 0.9567 GB, free: 119.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches