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.000984/0.0009838, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008284/0.0008285, allocations: 101 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2931/0.2931, allocations: 45.22 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 8 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3284, allocations: 63.24 MB / 0.5192 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4547, allocations: 111.3 MB / 0.6279 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.4551, allocations: 80.58 kB / 0.628 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4697/0.9248, allocations: 99.1 MB / 0.7247 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9249, allocations: 2.594 kB / 0.7247 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002148/0.9251, allocations: 84.34 kB / 0.7248 GB, free: 98.07 MB / 0.4948 GB 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.01991/0.945, allocations: 4.87 MB / 0.7296 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9451, allocations: 9.125 kB / 0.7296 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.9602, allocations: 3.602 MB / 0.7331 GB, free: 95.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.9741, allocations: 4.239 MB / 0.7372 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005567/0.9747, allocations: 375.5 kB / 0.7376 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/0.9776, allocations: 497 kB / 0.7381 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03203/1.01, allocations: 12.08 MB / 0.7499 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003946/1.01, allocations: 30.97 kB / 0.7499 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003118/1.013, allocations: 229.1 kB / 0.7501 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/1.015, allocations: 1.299 MB / 0.7514 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/1.039, allocations: 11.35 MB / 0.7625 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05809/1.097, allocations: 41.46 MB / 0.803 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009203/1.106, allocations: 4.858 MB / 0.8077 GB, free: 61.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/1.118, allocations: 6.846 MB / 0.8144 GB, free: 55.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/1.118, allocations: 52.56 kB / 0.8144 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 4.919e-06/1.118, allocations: 0 / 0.8144 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=250): time 0.04025/1.158, allocations: 18.83 MB / 0.8328 GB, free: 37.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.158, allocations: 73.41 kB / 0.8329 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/1.162, allocations: 2.794 MB / 0.8356 GB, free: 34.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/1.163, allocations: 57.7 kB / 0.8357 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.164, allocations: 3.23 MB / 0.8388 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008233/1.165, allocations: 0.9355 MB / 0.8398 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/1.166, allocations: 116 kB / 0.8399 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003657/1.166, allocations: 0.5702 MB / 0.8404 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/1.169, allocations: 2.425 MB / 0.8428 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/1.173, allocations: 5.722 MB / 0.8484 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/1.177, allocations: 3.713 MB / 0.852 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.883e-05/1.177, allocations: 32 kB / 0.852 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01675/1.194, allocations: 9.885 MB / 0.8617 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.194, allocations: 64.02 kB / 0.8618 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/1.194, allocations: 119.9 kB / 0.8619 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007615/1.202, allocations: 2.322 MB / 0.8641 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/1.206, allocations: 1.333 MB / 0.8654 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.223, allocations: 11.06 MB / 0.8762 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/1.227, allocations: 331.7 kB / 0.8765 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.228, allocations: 352 kB / 0.8769 GB, free: 6.566 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 (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.005618/1.234, allocations: 2.384 MB / 0.8792 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/1.235, allocations: 300.1 kB / 0.8795 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008456/1.243, allocations: 4.57 MB / 0.884 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.776e-05/1.243, allocations: 47.05 kB / 0.884 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.243, allocations: 4 kB / 0.884 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/1.243, allocations: 11.95 kB / 0.884 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.267, allocations: 10.77 MB / 0.8945 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/1.267, allocations: 4 kB / 0.8945 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.269, allocations: 411.8 kB / 0.8949 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/1.271, allocations: 0.6929 MB / 0.8956 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/1.271, allocations: 67.45 kB / 0.8957 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/1.273, allocations: 2.44 MB / 0.8981 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.274, allocations: 11.94 kB / 0.8981 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2449/1.518, allocations: 7.427 MB / 0.9053 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/1.519, allocations: 353.2 kB / 0.9057 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007108/1.52, allocations: 42.72 kB / 0.9057 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.522, allocations: 138.2 kB / 0.9058 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/1.522, allocations: 139.1 kB / 0.906 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.522, allocations: 71.81 kB / 0.906 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003049/1.525, allocations: 1.894 MB / 0.9079 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.525, allocations: 0.5312 kB / 0.9079 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004754/1.53, allocations: 1.13 MB / 0.909 GB, free: 117.5 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.0005471/1.531, allocations: 198.7 kB / 0.9092 GB, free: 117.5 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.00878/1.539, allocations: 6.052 MB / 0.9151 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.539, allocations: 0 / 0.9151 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004008/1.543, allocations: 2.497 MB / 0.9175 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.546, allocations: 444.6 kB / 0.9179 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02396/1.57, allocations: 13.24 MB / 0.9309 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007491/1.577, allocations: 3.822 MB / 0.9346 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005743/1.583, allocations: 2.044 MB / 0.9366 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009375/1.584, allocations: 233.3 kB / 0.9368 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/1.584, allocations: 0 / 0.9368 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.06287/1.647, allocations: 38.91 MB / 0.9748 GB, free: 108.6 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/jenkins/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