Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009919/0.0009918, allocations: 195.2 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.5 MB / 244.1 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007981/0.0007982, allocations: 101.5 kB / 296.1 MB, free: 6.715 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3132/0.3132, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.000262, allocations: 12 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2868, allocations: 62.95 MB / 0.5165 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4079, allocations: 111.3 MB / 0.6251 GB, free: 10.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4081, allocations: 79.95 kB / 0.6252 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4514/0.8595, allocations: 97.09 MB / 0.72 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.8595, allocations: 0 / 0.72 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002438/0.8598, allocations: 93.78 kB / 0.7201 GB, free: 100.1 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.01928/0.8791, allocations: 4.727 MB / 0.7247 GB, free: 97.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8792, allocations: 7.094 kB / 0.7247 GB, free: 97.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.8935, allocations: 3.576 MB / 0.7282 GB, free: 97.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008828/0.9023, allocations: 3.562 MB / 0.7317 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.9028, allocations: 373.2 kB / 0.7321 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/0.9056, allocations: 493.9 kB / 0.7325 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/0.9333, allocations: 11.97 MB / 0.7442 GB, free: 90.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/0.9336, allocations: 34.88 kB / 0.7442 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002301/0.9359, allocations: 223.7 kB / 0.7445 GB, free: 90.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.9377, allocations: 1.295 MB / 0.7457 GB, free: 90.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.9578, allocations: 11.22 MB / 0.7567 GB, free: 85.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05518/1.013, allocations: 41.32 MB / 0.797 GB, free: 43.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/1.022, allocations: 4.938 MB / 0.8018 GB, free: 38.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/1.025, allocations: 2.377 MB / 0.8042 GB, free: 36.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/1.035, allocations: 6.783 MB / 0.8108 GB, free: 29.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.035, allocations: 48.56 kB / 0.8108 GB, free: 29.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 5.871e-06/1.035, allocations: 0 / 0.8108 GB, free: 29.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03276/1.068, allocations: 16.13 MB / 0.8266 GB, free: 12.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.068, allocations: 73.41 kB / 0.8267 GB, free: 12.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/1.072, allocations: 3.121 MB / 0.8297 GB, free: 9.586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003019/1.073, allocations: 53.7 kB / 0.8298 GB, free: 9.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.074, allocations: 3.228 MB / 0.8329 GB, free: 6.297 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007971/1.075, allocations: 0.885 MB / 0.8338 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/1.075, allocations: 119.4 kB / 0.8339 GB, free: 5.305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003576/1.075, allocations: 0.5622 MB / 0.8344 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/1.078, allocations: 2.338 MB / 0.8367 GB, free: 2.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00589/1.084, allocations: 5.662 MB / 0.8422 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.096, allocations: 8.71 MB / 0.8508 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/1.096, allocations: 32 kB / 0.8508 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.0173/1.113, allocations: 8.747 MB / 0.8593 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.113, allocations: 56 kB / 0.8594 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.113, allocations: 120 kB / 0.8595 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/1.117, allocations: 1.122 MB / 0.8606 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/1.121, allocations: 1.345 MB / 0.8619 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/1.127, allocations: 4.6 MB / 0.8664 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.132, allocations: 319.8 kB / 0.8667 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.133, allocations: 348 kB / 0.867 GB, free: 15.89 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 (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.005677/1.138, allocations: 2.368 MB / 0.8693 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007547/1.139, allocations: 300.1 kB / 0.8696 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008426/1.148, allocations: 4.362 MB / 0.8739 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.465e-05/1.148, allocations: 50.95 kB / 0.8739 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.148, allocations: 0 / 0.8739 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/1.148, allocations: 7.969 kB / 0.8739 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2399/1.388, allocations: 10.35 MB / 0.8841 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.388, allocations: 6.266 kB / 0.8841 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.389, allocations: 377.7 kB / 0.8844 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/1.391, allocations: 0.675 MB / 0.8851 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/1.391, allocations: 49.19 kB / 0.8851 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/1.393, allocations: 2.409 MB / 0.8875 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.393, allocations: 10.28 kB / 0.8875 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008242/1.402, allocations: 6.697 MB / 0.894 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/1.403, allocations: 342.5 kB / 0.8944 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/1.403, allocations: 48.48 kB / 0.8944 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.404, allocations: 133.9 kB / 0.8945 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/1.404, allocations: 135.1 kB / 0.8947 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.404, allocations: 67.41 kB / 0.8947 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002613/1.407, allocations: 1.895 MB / 0.8966 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/1.407, allocations: 0 / 0.8966 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004136/1.411, allocations: 1.062 MB / 0.8976 GB, free: 129.2 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.0004463/1.412, allocations: 205.3 kB / 0.8978 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008254/1.42, allocations: 5.721 MB / 0.9034 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.42, allocations: 1.156 kB / 0.9034 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/1.424, allocations: 2.392 MB / 0.9057 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.428, allocations: 453.4 kB / 0.9062 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.446, allocations: 13.81 MB / 0.9197 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/1.451, allocations: 3.675 MB / 0.9232 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.452, allocations: 283.2 kB / 0.9235 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/1.452, allocations: 0 / 0.9235 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1041/1.556, allocations: 114.9 MB / 1.036 GB, free: 38.57 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches