Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 193.5 kB / 16.78 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007778/0.0007779, allocations: 105.9 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2841/0.2841, allocations: 44.82 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002508, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2932, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4129, allocations: 106.5 MB / 0.6204 GB, free: 14.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4131, allocations: 79.97 kB / 0.6205 GB, free: 14.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4051/0.8183, allocations: 93.63 MB / 0.7119 GB, free: 99.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8183, allocations: 4 kB / 0.7119 GB, free: 99.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00016/0.8185, allocations: 91.78 kB / 0.712 GB, free: 99.14 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01577/0.8342, allocations: 4.551 MB / 0.7165 GB, free: 97.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8343, allocations: 8.844 kB / 0.7165 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.8486, allocations: 3.54 MB / 0.7199 GB, free: 96.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00784/0.8565, allocations: 3.475 MB / 0.7233 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.8568, allocations: 352.5 kB / 0.7237 GB, free: 96.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/0.8589, allocations: 466 kB / 0.7241 GB, free: 96.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.8785, allocations: 11.14 MB / 0.735 GB, free: 91.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.8786, allocations: 31.16 kB / 0.735 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007783/0.8794, allocations: 213.2 kB / 0.7352 GB, free: 91.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/0.8807, allocations: 1.201 MB / 0.7364 GB, free: 91.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.8981, allocations: 10.61 MB / 0.7468 GB, free: 87.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04696/0.9451, allocations: 37.58 MB / 0.7835 GB, free: 57.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006324/0.9515, allocations: 4.27 MB / 0.7876 GB, free: 52.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.9538, allocations: 2.115 MB / 0.7897 GB, free: 50.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.9546, allocations: 1.31 MB / 0.791 GB, free: 49.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.9547, allocations: 60.5 kB / 0.791 GB, free: 49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 5.26e-06/0.9547, allocations: 0 / 0.791 GB, free: 49 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03258/0.9873, allocations: 13.42 MB / 0.8041 GB, free: 35.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.9873, allocations: 73.41 kB / 0.8042 GB, free: 35.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.991, allocations: 2.908 MB / 0.807 GB, free: 32.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003781/0.9914, allocations: 65.69 kB / 0.8071 GB, free: 32.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.9927, allocations: 3.033 MB / 0.8101 GB, free: 29.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008075/0.9935, allocations: 0.9352 MB / 0.811 GB, free: 28.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.9937, allocations: 119.7 kB / 0.8111 GB, free: 28.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.994, allocations: 0.5579 MB / 0.8116 GB, free: 27.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.9968, allocations: 2.315 MB / 0.8139 GB, free: 25.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/1.001, allocations: 5.533 MB / 0.8193 GB, free: 18.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/1.008, allocations: 8.632 MB / 0.8277 GB, free: 8.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.418e-05/1.008, allocations: 32 kB / 0.8278 GB, free: 8.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01409/1.022, allocations: 8.541 MB / 0.8361 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.023, allocations: 56 kB / 0.8362 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/1.023, allocations: 112 kB / 0.8363 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/1.026, allocations: 1.04 MB / 0.8373 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/1.031, allocations: 1.333 MB / 0.8386 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/1.034, allocations: 2.467 MB / 0.841 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/1.038, allocations: 315.7 kB / 0.8413 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.039, allocations: 332 kB / 0.8416 GB, free: 9.758 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (721): * 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): 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 prepare postOptimizeDAE: time 0.005141/1.044, allocations: 2.32 MB / 0.8439 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/1.045, allocations: 292.2 kB / 0.8442 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009551/1.054, allocations: 4.954 MB / 0.849 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-05/1.054, allocations: 51.92 kB / 0.849 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.054, allocations: 4 kB / 0.849 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/1.054, allocations: 11.95 kB / 0.8491 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/1.079, allocations: 11.56 MB / 0.8603 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.079, allocations: 8 kB / 0.8604 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.081, allocations: 411.3 kB / 0.8607 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003201/1.084, allocations: 0.9115 MB / 0.8616 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004482/1.084, allocations: 55.89 kB / 0.8617 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/1.087, allocations: 2.276 MB / 0.8639 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.087, allocations: 11.94 kB / 0.8639 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/1.099, allocations: 7.36 MB / 0.8711 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/1.1, allocations: 345.2 kB / 0.8714 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/1.101, allocations: 55.73 kB / 0.8715 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/1.103, allocations: 135.8 kB / 0.8716 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/1.103, allocations: 145.7 kB / 0.8718 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/1.104, allocations: 79.97 kB / 0.8718 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003508/1.107, allocations: 1.763 MB / 0.8736 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/1.107, allocations: 0 / 0.8736 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005398/1.113, allocations: 1.019 MB / 0.8746 GB, free: 7.492 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (206): * Single equations (assignments): 197 * 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.0007713/1.113, allocations: 204.5 kB / 0.8748 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.124, allocations: 6.081 MB / 0.8807 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.124, allocations: 4.188 kB / 0.8807 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2158/1.34, allocations: 2.546 MB / 0.8832 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/1.345, allocations: 486.7 kB / 0.8836 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/1.363, allocations: 13.71 MB / 0.897 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003812/1.367, allocations: 3.587 MB / 0.9005 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.368, allocations: 289.9 kB / 0.9008 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.368, allocations: 0 / 0.9008 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1302/1.499, allocations: 122.6 MB / 1.021 GB, free: 52.26 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches