Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 201.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008153/0.0008154, allocations: 108.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.4151/0.4151, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3819, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.5347, allocations: 111.3 MB / 0.6271 GB, free: 10.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.535, allocations: 79.95 kB / 0.6272 GB, free: 9.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5601/1.095, allocations: 97.54 MB / 0.7224 GB, free: 99.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.095, allocations: 6.969 kB / 0.7224 GB, free: 99.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002334/1.095, allocations: 85.23 kB / 0.7225 GB, free: 99.8 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.01957/1.115, allocations: 4.749 MB / 0.7271 GB, free: 97.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.115, allocations: 7.625 kB / 0.7271 GB, free: 97.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/1.13, allocations: 3.571 MB / 0.7306 GB, free: 97.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/1.138, allocations: 3.581 MB / 0.7341 GB, free: 95.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/1.139, allocations: 376.2 kB / 0.7345 GB, free: 95.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00256/1.141, allocations: 492.5 kB / 0.735 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/1.167, allocations: 12.01 MB / 0.7467 GB, free: 90.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/1.167, allocations: 35.5 kB / 0.7467 GB, free: 90.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002012/1.169, allocations: 219.1 kB / 0.7469 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/1.171, allocations: 1.295 MB / 0.7482 GB, free: 89.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.193, allocations: 11.25 MB / 0.7592 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05441/1.248, allocations: 41.4 MB / 0.7996 GB, free: 43.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008989/1.257, allocations: 4.873 MB / 0.8044 GB, free: 37.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/1.26, allocations: 2.381 MB / 0.8067 GB, free: 35.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009465/1.269, allocations: 6.794 MB / 0.8133 GB, free: 28.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/1.269, allocations: 56.55 kB / 0.8134 GB, free: 28.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.599e-06/1.269, allocations: 0 / 0.8134 GB, free: 28.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03985/1.309, allocations: 18.3 MB / 0.8313 GB, free: 9.969 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.309, allocations: 73.41 kB / 0.8313 GB, free: 9.883 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/1.314, allocations: 3.133 MB / 0.8344 GB, free: 6.734 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003042/1.314, allocations: 61.45 kB / 0.8344 GB, free: 6.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.316, allocations: 3.223 MB / 0.8376 GB, free: 3.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008394/1.317, allocations: 0.9362 MB / 0.8385 GB, free: 2.512 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/1.317, allocations: 118.8 kB / 0.8386 GB, free: 2.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003975/1.318, allocations: 0.5664 MB / 0.8392 GB, free: 1.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/1.321, allocations: 2.425 MB / 0.8415 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006422/1.328, allocations: 5.742 MB / 0.8472 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.339, allocations: 8.896 MB / 0.8558 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.339, allocations: 32 kB / 0.8559 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02191/1.361, allocations: 9.89 MB / 0.8655 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.361, allocations: 60.25 kB / 0.8656 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002425/1.361, allocations: 116 kB / 0.8657 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008272/1.37, allocations: 2.311 MB / 0.868 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/1.375, allocations: 1.326 MB / 0.8692 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/1.392, allocations: 10.64 MB / 0.8796 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/1.397, allocations: 327.8 kB / 0.8799 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.399, allocations: 354.4 kB / 0.8803 GB, free: 4.297 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 (720): * Single equations (assignments): 712 * 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: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.006791/1.406, allocations: 2.391 MB / 0.8826 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/1.406, allocations: 304.1 kB / 0.8829 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3607/1.767, allocations: 4.559 MB / 0.8874 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/1.767, allocations: 46.5 kB / 0.8874 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.767, allocations: 6.469 kB / 0.8874 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/1.767, allocations: 7.219 kB / 0.8874 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/1.788, allocations: 10.76 MB / 0.8979 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.788, allocations: 9.641 kB / 0.8979 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.789, allocations: 411.4 kB / 0.8983 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/1.791, allocations: 0.6948 MB / 0.899 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/1.791, allocations: 54.7 kB / 0.8991 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/1.794, allocations: 2.411 MB / 0.9014 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.794, allocations: 12.66 kB / 0.9014 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009663/1.803, allocations: 7.029 MB / 0.9083 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000917/1.804, allocations: 349.1 kB / 0.9086 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/1.805, allocations: 47.19 kB / 0.9087 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.806, allocations: 144.9 kB / 0.9088 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.807, allocations: 141.8 kB / 0.9089 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.807, allocations: 68.66 kB / 0.909 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003675/1.811, allocations: 1.893 MB / 0.9109 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/1.811, allocations: 2.906 kB / 0.9109 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006337/1.817, allocations: 1.128 MB / 0.912 GB, free: 128.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * 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 (202): * Single equations (assignments): 193 * 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.0008403/1.818, allocations: 202.3 kB / 0.9121 GB, free: 128 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01402/1.832, allocations: 6.054 MB / 0.9181 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.832, allocations: 3.625 kB / 0.9181 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004616/1.837, allocations: 2.498 MB / 0.9205 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/1.841, allocations: 452 kB / 0.9209 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.86, allocations: 13.3 MB / 0.9339 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.864, allocations: 3.721 MB / 0.9376 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004548/1.868, allocations: 2.039 MB / 0.9395 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/1.869, allocations: 231.9 kB / 0.9398 GB, free: 117 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.869, allocations: 7.938 kB / 0.9398 GB, free: 117 MB / 0.5261 GB Notification: Performance of Templates: time 0.07735/1.946, allocations: 39.04 MB / 0.9779 GB, free: 100.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches