Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 183.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2389/0.2389, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 15.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5962, allocations: 104.4 MB / 0.5807 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5965, allocations: 82.7 kB / 0.5808 GB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2227/0.8192, allocations: 91.53 MB / 0.6702 GB, free: 7.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.8192, allocations: 0 / 0.6702 GB, free: 7.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001366/0.8194, allocations: 79.98 kB / 0.6703 GB, free: 7.75 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01468/0.8341, allocations: 4.417 MB / 0.6746 GB, free: 3.262 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.8341, allocations: 12.02 kB / 0.6746 GB, free: 3.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.8489, allocations: 3.558 MB / 0.6781 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.8643, allocations: 4.71 MB / 0.6827 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.8647, allocations: 332.6 kB / 0.683 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/0.8673, allocations: 435.8 kB / 0.6834 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/0.888, allocations: 11.06 MB / 0.6942 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.8882, allocations: 31.67 kB / 0.6942 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006201/0.8888, allocations: 199.8 kB / 0.6944 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.8904, allocations: 1.231 MB / 0.6956 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/0.9118, allocations: 10.68 MB / 0.706 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3479/1.26, allocations: 37.42 MB / 0.7426 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/1.267, allocations: 4.394 MB / 0.7469 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.269, allocations: 1.317 MB / 0.7482 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.269, allocations: 56.25 kB / 0.7482 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.743e-06/1.269, allocations: 0 / 0.7482 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.0407/1.309, allocations: 14.3 MB / 0.7622 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.309, allocations: 75.47 kB / 0.7623 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/1.315, allocations: 2.533 MB / 0.7647 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004717/1.315, allocations: 58.59 kB / 0.7648 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001962/1.317, allocations: 2.945 MB / 0.7677 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.318, allocations: 0.969 MB / 0.7686 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000807/1.319, allocations: 113.3 kB / 0.7687 GB, free: 96.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007155/1.32, allocations: 0.5643 MB / 0.7693 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003994/1.324, allocations: 2.335 MB / 0.7715 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/1.329, allocations: 5.485 MB / 0.7769 GB, free: 90.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/1.334, allocations: 3.594 MB / 0.7804 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.334, allocations: 31.03 kB / 0.7804 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01463/1.349, allocations: 8.558 MB / 0.7888 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/1.349, allocations: 53.81 kB / 0.7888 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.349, allocations: 109.8 kB / 0.789 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/1.352, allocations: 1.062 MB / 0.79 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/1.356, allocations: 1.332 MB / 0.7913 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/1.359, allocations: 2.491 MB / 0.7937 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/1.362, allocations: 318.4 kB / 0.794 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/1.363, allocations: 337 kB / 0.7943 GB, free: 84.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (722): * Single equations (assignments): 713 * 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.003941/1.367, allocations: 2.269 MB / 0.7966 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/1.368, allocations: 289.8 kB / 0.7968 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/1.375, allocations: 5.069 MB / 0.8018 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/1.375, allocations: 46.47 kB / 0.8018 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.375, allocations: 3.906 kB / 0.8018 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.375, allocations: 11.2 kB / 0.8018 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/1.394, allocations: 11.62 MB / 0.8132 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.394, allocations: 11.5 kB / 0.8132 GB, free: 73.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.396, allocations: 425.1 kB / 0.8136 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/1.399, allocations: 0.9162 MB / 0.8145 GB, free: 72.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/1.399, allocations: 62.84 kB / 0.8146 GB, free: 72.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.401, allocations: 2.308 MB / 0.8168 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.401, allocations: 15.31 kB / 0.8168 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009621/1.41, allocations: 8.156 MB / 0.8248 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.411, allocations: 335.8 kB / 0.8251 GB, free: 62.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/1.412, allocations: 49.41 kB / 0.8252 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.413, allocations: 136 kB / 0.8253 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/1.413, allocations: 167.3 kB / 0.8255 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.413, allocations: 74.94 kB / 0.8255 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002366/1.416, allocations: 1.725 MB / 0.8272 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/1.416, allocations: 0 / 0.8272 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004024/1.42, allocations: 1.016 MB / 0.8282 GB, free: 59.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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 (216): * Single equations (assignments): 207 * 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.0004215/1.42, allocations: 204.8 kB / 0.8284 GB, free: 59.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008281/1.429, allocations: 6.145 MB / 0.8344 GB, free: 54.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.429, allocations: 64 / 0.8344 GB, free: 54.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00372/1.432, allocations: 2.595 MB / 0.8369 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.435, allocations: 392.8 kB / 0.8373 GB, free: 51.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.452, allocations: 13.01 MB / 0.85 GB, free: 39.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/1.455, allocations: 3.605 MB / 0.8535 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004502/1.459, allocations: 2.092 MB / 0.8556 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000709/1.46, allocations: 235.4 kB / 0.8558 GB, free: 34.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/1.46, allocations: 4 kB / 0.8558 GB, free: 34.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.05548/1.516, allocations: 31.75 MB / 0.8868 GB, free: 2.785 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches