Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008859/0.0008858, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.0008159, allocations: 100.8 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3365/0.3365, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 16 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3137, allocations: 61.87 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.4542, allocations: 110.5 MB / 0.6186 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4545, allocations: 87.95 kB / 0.6187 GB, free: 484 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4478/0.9023, allocations: 96.81 MB / 0.7132 GB, free: 97.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9023, allocations: 0 / 0.7132 GB, free: 97.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002423/0.9026, allocations: 94.22 kB / 0.7133 GB, free: 97.38 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.0197/0.9223, allocations: 4.622 MB / 0.7179 GB, free: 95.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9224, allocations: 13.69 kB / 0.7179 GB, free: 95.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.9371, allocations: 3.568 MB / 0.7213 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.9473, allocations: 3.654 MB / 0.7249 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003847/0.9477, allocations: 381 kB / 0.7253 GB, free: 94.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/0.9505, allocations: 489 kB / 0.7257 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02804/0.9786, allocations: 11.96 MB / 0.7374 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002591/0.9789, allocations: 38.59 kB / 0.7375 GB, free: 89.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/0.981, allocations: 227.1 kB / 0.7377 GB, free: 89.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.9827, allocations: 1.295 MB / 0.7389 GB, free: 88.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/1.003, allocations: 11.23 MB / 0.7499 GB, free: 85.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05336/1.056, allocations: 41.31 MB / 0.7902 GB, free: 54.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008552/1.065, allocations: 4.934 MB / 0.7951 GB, free: 49.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/1.068, allocations: 2.37 MB / 0.7974 GB, free: 46.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009619/1.077, allocations: 6.769 MB / 0.804 GB, free: 39.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.077, allocations: 52.56 kB / 0.804 GB, free: 39.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 7.885e-06/1.077, allocations: 0 / 0.804 GB, free: 39.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03312/1.11, allocations: 16.13 MB / 0.8198 GB, free: 23.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/1.11, allocations: 69.41 kB / 0.8199 GB, free: 23.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/1.115, allocations: 3.133 MB / 0.8229 GB, free: 20.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003932/1.116, allocations: 53.7 kB / 0.823 GB, free: 19.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.117, allocations: 3.225 MB / 0.8261 GB, free: 16.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.118, allocations: 0.8816 MB / 0.827 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/1.119, allocations: 116 kB / 0.8271 GB, free: 15.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004297/1.119, allocations: 0.5622 MB / 0.8276 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/1.122, allocations: 2.335 MB / 0.8299 GB, free: 12.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004739/1.127, allocations: 5.662 MB / 0.8355 GB, free: 5.527 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.137, allocations: 8.714 MB / 0.844 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/1.137, allocations: 32 kB / 0.844 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02227/1.16, allocations: 8.751 MB / 0.8525 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.16, allocations: 56 kB / 0.8526 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/1.16, allocations: 120.1 kB / 0.8527 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003326/1.164, allocations: 1.117 MB / 0.8538 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/1.168, allocations: 1.345 MB / 0.8551 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/1.174, allocations: 4.584 MB / 0.8596 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005379/1.18, allocations: 323.8 kB / 0.8599 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.181, allocations: 340 kB / 0.8602 GB, free: 10.35 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 (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.006259/1.188, allocations: 2.381 MB / 0.8625 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009334/1.189, allocations: 296.3 kB / 0.8628 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008909/1.197, allocations: 4.366 MB / 0.8671 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.072e-05/1.198, allocations: 47.73 kB / 0.8671 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.198, allocations: 4 kB / 0.8671 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/1.198, allocations: 7.969 kB / 0.8672 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.222, allocations: 10.37 MB / 0.8773 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/1.222, allocations: 8 kB / 0.8773 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.223, allocations: 384.1 kB / 0.8776 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/1.225, allocations: 0.6695 MB / 0.8783 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/1.226, allocations: 59.86 kB / 0.8784 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/1.229, allocations: 2.416 MB / 0.8807 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.229, allocations: 8 kB / 0.8807 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.262/1.491, allocations: 6.689 MB / 0.8873 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/1.491, allocations: 347.4 kB / 0.8876 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005256/1.492, allocations: 44.38 kB / 0.8876 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.493, allocations: 136.9 kB / 0.8878 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.494, allocations: 132.3 kB / 0.8879 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.494, allocations: 65.91 kB / 0.888 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002612/1.496, allocations: 1.895 MB / 0.8898 GB, free: 132 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/1.496, allocations: 0 / 0.8898 GB, free: 132 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004305/1.501, allocations: 1.056 MB / 0.8908 GB, free: 132 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.0004703/1.501, allocations: 192.8 kB / 0.891 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00825/1.509, allocations: 5.72 MB / 0.8966 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.509, allocations: 0 / 0.8966 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/1.513, allocations: 2.385 MB / 0.8989 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/1.517, allocations: 470.4 kB / 0.8994 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.536, allocations: 13.26 MB / 0.9123 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004335/1.54, allocations: 3.678 MB / 0.9159 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005295/1.545, allocations: 2.014 MB / 0.9179 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/1.546, allocations: 237.2 kB / 0.9181 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/1.546, allocations: 0 / 0.9181 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.06015/1.606, allocations: 33.97 MB / 0.9513 GB, free: 123.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches