Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001972/0.001972, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 79.81 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3747, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01643/0.3912, allocations: 13.97 MB / 0.5453 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.4026, allocations: 4.415 MB / 0.5496 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/0.4067, allocations: 75.12 kB / 0.5497 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005235/0.412, allocations: 2.367 MB / 0.552 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.4207, allocations: 1.882 MB / 0.5538 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.4228, allocations: 0.5887 MB / 0.5544 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006448/0.4292, allocations: 4.156 MB / 0.5585 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005562/0.4348, allocations: 3.582 MB / 0.562 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.4379, allocations: 1.577 MB / 0.5635 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.4413, allocations: 2.153 MB / 0.5656 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.4426, allocations: 348 kB / 0.5659 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.4457, allocations: 1.198 MB / 0.5671 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.4484, allocations: 1.999 MB / 0.5691 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004423/0.4528, allocations: 2.38 MB / 0.5714 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.4631, allocations: 7.799 MB / 0.579 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.4631, allocations: 4 kB / 0.579 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4632, allocations: 0 / 0.579 GB, free: 1.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002498/0.4634, allocations: 0 / 0.579 GB, free: 1.082 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.016/0.4794, allocations: 5.343 MB / 0.5842 GB, free: 11.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.4795, allocations: 8.031 kB / 0.5842 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.4915, allocations: 3.172 MB / 0.5873 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/0.4967, allocations: 2.262 MB / 0.5895 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.497, allocations: 263 kB / 0.5898 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.4986, allocations: 343.7 kB / 0.5901 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.5229, allocations: 12.18 MB / 0.602 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.5232, allocations: 35.66 kB / 0.602 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/0.5245, allocations: 159.8 kB / 0.6022 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004478/0.529, allocations: 2.641 MB / 0.6048 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02293/0.552, allocations: 11.21 MB / 0.6157 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/0.6154, allocations: 38.88 MB / 0.6537 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.6264, allocations: 4.974 MB / 0.6586 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.6299, allocations: 2.369 MB / 0.6609 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.6407, allocations: 6.819 MB / 0.6675 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.6408, allocations: 48.56 kB / 0.6676 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 9.388e-06/0.6408, allocations: 3.984 kB / 0.6676 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.04007/0.6809, allocations: 16.17 MB / 0.6834 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.681, allocations: 77.34 kB / 0.6834 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005227/0.6862, allocations: 3.128 MB / 0.6865 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003683/0.6866, allocations: 57.7 kB / 0.6865 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.6888, allocations: 3.181 MB / 0.6897 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.6899, allocations: 0.8828 MB / 0.6905 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/0.6922, allocations: 1.206 MB / 0.6917 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6923, allocations: 301.1 kB / 0.692 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/0.696, allocations: 2.382 MB / 0.6943 GB, free: 8.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006402/0.7025, allocations: 5.693 MB / 0.6999 GB, free: 1.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.7138, allocations: 8.772 MB / 0.7084 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/0.714, allocations: 32 kB / 0.7085 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.01826/0.7323, allocations: 8.849 MB / 0.7171 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.7325, allocations: 52 kB / 0.7172 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/0.7328, allocations: 116 kB / 0.7173 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.7365, allocations: 1.133 MB / 0.7184 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/0.7414, allocations: 1.353 MB / 0.7197 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009794/0.7512, allocations: 6.946 MB / 0.7265 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005652/0.7569, allocations: 324 kB / 0.7268 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.7582, allocations: 348 kB / 0.7271 GB, free: 3.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.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 (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005482/0.7637, allocations: 2.337 MB / 0.7294 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/0.7646, allocations: 300.1 kB / 0.7297 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3095/1.074, allocations: 4.39 MB / 0.734 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/1.074, allocations: 41.59 kB / 0.734 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.074, allocations: 1.375 kB / 0.734 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/1.074, allocations: 12.95 kB / 0.734 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.09, allocations: 10.28 MB / 0.7441 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.09, allocations: 7.562 kB / 0.7441 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.092, allocations: 380.6 kB / 0.7444 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.094, allocations: 0.6765 MB / 0.7451 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.094, allocations: 47.03 kB / 0.7451 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/1.096, allocations: 2.575 MB / 0.7476 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/1.096, allocations: 3.906 kB / 0.7477 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/1.104, allocations: 6.724 MB / 0.7542 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/1.105, allocations: 339.7 kB / 0.7545 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/1.105, allocations: 47.19 kB / 0.7546 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.106, allocations: 138.1 kB / 0.7547 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.107, allocations: 135.5 kB / 0.7548 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.107, allocations: 68.77 kB / 0.7549 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002295/1.109, allocations: 1.887 MB / 0.7568 GB, free: 167 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/1.109, allocations: 4 kB / 0.7568 GB, free: 167 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003763/1.113, allocations: 1.036 MB / 0.7578 GB, free: 165.9 MB / 0.5762 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000508/1.113, allocations: 186.9 kB / 0.758 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007998/1.121, allocations: 5.965 MB / 0.7638 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.121, allocations: 0 / 0.7638 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003647/1.125, allocations: 2.41 MB / 0.7661 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.128, allocations: 496.3 kB / 0.7666 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.145, allocations: 11.37 MB / 0.7777 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.148, allocations: 3.638 MB / 0.7813 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.149, allocations: 279.4 kB / 0.7815 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/1.149, allocations: 0 / 0.7815 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1113/1.261, allocations: 114.8 MB / 0.8936 GB, free: 26.84 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches