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.001019/0.001019, allocations: 201 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009876/0.0009876, allocations: 98.5 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4199/0.4199, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 12 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4166, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.5634, allocations: 111.2 MB / 0.6271 GB, free: 10.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5637, allocations: 87.94 kB / 0.6271 GB, free: 9.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5468/1.11, allocations: 97.1 MB / 0.722 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.111, allocations: 0 / 0.722 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002378/1.111, allocations: 95.28 kB / 0.7221 GB, free: 100.1 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.01971/1.13, allocations: 4.727 MB / 0.7267 GB, free: 97.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.131, allocations: 10.47 kB / 0.7267 GB, free: 97.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/1.146, allocations: 3.575 MB / 0.7302 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/1.157, allocations: 3.568 MB / 0.7337 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004912/1.157, allocations: 372.2 kB / 0.734 GB, free: 95.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003122/1.16, allocations: 486.1 kB / 0.7345 GB, free: 95.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03099/1.191, allocations: 11.97 MB / 0.7462 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/1.192, allocations: 31.59 kB / 0.7462 GB, free: 90.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003037/1.195, allocations: 227.7 kB / 0.7464 GB, free: 90.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/1.197, allocations: 1.297 MB / 0.7477 GB, free: 90.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.223, allocations: 11.21 MB / 0.7586 GB, free: 85.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06439/1.288, allocations: 41.32 MB / 0.799 GB, free: 43.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008907/1.297, allocations: 4.941 MB / 0.8038 GB, free: 38.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/1.3, allocations: 2.37 MB / 0.8061 GB, free: 36.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009519/1.309, allocations: 6.78 MB / 0.8127 GB, free: 29.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.309, allocations: 56.5 kB / 0.8128 GB, free: 28.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 4.709e-06/1.309, allocations: 0 / 0.8128 GB, free: 28.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03138/1.341, allocations: 16.12 MB / 0.8285 GB, free: 12.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.341, allocations: 73.41 kB / 0.8286 GB, free: 12.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.345, allocations: 3.121 MB / 0.8317 GB, free: 9.492 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004917/1.346, allocations: 57.7 kB / 0.8317 GB, free: 9.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.347, allocations: 3.224 MB / 0.8349 GB, free: 6.203 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009105/1.348, allocations: 0.8838 MB / 0.8357 GB, free: 5.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.348, allocations: 119.2 kB / 0.8358 GB, free: 5.211 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002644/1.348, allocations: 0.5583 MB / 0.8364 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/1.351, allocations: 2.338 MB / 0.8387 GB, free: 2.301 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005438/1.357, allocations: 5.658 MB / 0.8442 GB, free: 11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/1.367, allocations: 8.714 MB / 0.8527 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.367, allocations: 36 kB / 0.8527 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01678/1.384, allocations: 8.755 MB / 0.8613 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/1.384, allocations: 52 kB / 0.8613 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/1.384, allocations: 116 kB / 0.8614 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/1.388, allocations: 1.128 MB / 0.8625 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/1.392, allocations: 1.341 MB / 0.8639 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/1.397, allocations: 4.585 MB / 0.8683 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/1.401, allocations: 327.8 kB / 0.8686 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006909/1.402, allocations: 351.7 kB / 0.869 GB, free: 15.8 MB / 0.5261 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.004366/1.406, allocations: 2.361 MB / 0.8713 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/1.407, allocations: 304.1 kB / 0.8716 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/1.414, allocations: 4.37 MB / 0.8758 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/1.414, allocations: 47.98 kB / 0.8759 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.414, allocations: 4 kB / 0.8759 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/1.414, allocations: 7.969 kB / 0.8759 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2933/1.707, allocations: 10.35 MB / 0.886 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.707, allocations: 5.203 kB / 0.886 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.709, allocations: 384.3 kB / 0.8864 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/1.711, allocations: 0.6679 MB / 0.887 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/1.711, allocations: 50.83 kB / 0.8871 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/1.714, allocations: 2.412 MB / 0.8894 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/1.714, allocations: 6.75 kB / 0.8894 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009655/1.724, allocations: 6.691 MB / 0.896 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.725, allocations: 343.6 kB / 0.8963 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/1.726, allocations: 47.72 kB / 0.8964 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.727, allocations: 135.6 kB / 0.8965 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.728, allocations: 137.2 kB / 0.8966 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.728, allocations: 63.7 kB / 0.8967 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003687/1.731, allocations: 1.893 MB / 0.8985 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.731, allocations: 0 / 0.8985 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006348/1.738, allocations: 1.064 MB / 0.8996 GB, free: 129.3 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.0007687/1.739, allocations: 205.2 kB / 0.8998 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.749, allocations: 5.722 MB / 0.9053 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/1.749, allocations: 0 / 0.9053 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/1.753, allocations: 2.384 MB / 0.9077 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005134/1.759, allocations: 455.4 kB / 0.9081 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.783, allocations: 13.27 MB / 0.9211 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005897/1.789, allocations: 3.682 MB / 0.9247 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005382/1.794, allocations: 2.02 MB / 0.9266 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008444/1.795, allocations: 238.5 kB / 0.9269 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/1.795, allocations: 0 / 0.9269 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.0632/1.858, allocations: 33.94 MB / 0.96 GB, free: 118.1 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/jenkins1/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