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.0009568/0.0009567, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.197/1.197, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 91.73 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1631/0.1631, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.26e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.458, allocations: 110.3 MB / 0.6094 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4583, allocations: 79.69 kB / 0.6095 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2331/0.6914, allocations: 97.92 MB / 0.7051 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6914, allocations: 0 / 0.7051 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001514/0.6916, allocations: 92 kB / 0.7052 GB, free: 8.242 MB / 0.5105 GB 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.01531/0.7069, allocations: 4.604 MB / 0.7097 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7069, allocations: 8.031 kB / 0.7097 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.264/0.971, allocations: 3.596 MB / 0.7132 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.9851, allocations: 4.711 MB / 0.7178 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005135/0.9857, allocations: 372.9 kB / 0.7182 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/0.9886, allocations: 493.5 kB / 0.7186 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/1.015, allocations: 11.94 MB / 0.7303 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/1.015, allocations: 42.52 kB / 0.7303 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009029/1.016, allocations: 216.9 kB / 0.7305 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00198/1.018, allocations: 1.298 MB / 0.7318 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02149/1.04, allocations: 11.18 MB / 0.7427 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05017/1.09, allocations: 41.36 MB / 0.7831 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00908/1.099, allocations: 4.92 MB / 0.7879 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/1.102, allocations: 2.34 MB / 0.7902 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008505/1.111, allocations: 6.817 MB / 0.7969 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.111, allocations: 58.88 kB / 0.7969 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=226): time 5.07e-06/1.111, allocations: 3.625 kB / 0.7969 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.02727/1.138, allocations: 13.53 MB / 0.8101 GB, free: 82.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.138, allocations: 73.41 kB / 0.8102 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/1.142, allocations: 2.777 MB / 0.8129 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003513/1.142, allocations: 53.64 kB / 0.813 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/1.143, allocations: 3.23 MB / 0.8161 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007108/1.144, allocations: 0.8798 MB / 0.817 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/1.144, allocations: 116 kB / 0.8171 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002392/1.144, allocations: 0.5624 MB / 0.8176 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/1.147, allocations: 2.295 MB / 0.8199 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/1.15, allocations: 5.592 MB / 0.8253 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/1.154, allocations: 3.611 MB / 0.8289 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.423e-05/1.154, allocations: 32 kB / 0.8289 GB, free: 63.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.0117/1.166, allocations: 8.665 MB / 0.8374 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/1.166, allocations: 58.53 kB / 0.8374 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.43e-05/1.166, allocations: 116 kB / 0.8375 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.169, allocations: 1.139 MB / 0.8386 GB, free: 55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/1.173, allocations: 1.353 MB / 0.84 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/1.178, allocations: 4.577 MB / 0.8444 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/1.182, allocations: 317.4 kB / 0.8447 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.184, allocations: 350.5 kB / 0.8451 GB, free: 49.1 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 () * 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.0009663/1.185, allocations: 0.5384 MB / 0.8456 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/1.185, allocations: 296.2 kB / 0.8459 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/1.191, allocations: 4.336 MB / 0.8501 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/1.192, allocations: 51.52 kB / 0.8502 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.192, allocations: 4 kB / 0.8502 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/1.192, allocations: 6.562 kB / 0.8502 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.206, allocations: 10.32 MB / 0.8603 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.206, allocations: 4 kB / 0.8603 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/1.208, allocations: 382.1 kB / 0.8606 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/1.209, allocations: 0.6652 MB / 0.8613 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/1.21, allocations: 55.8 kB / 0.8613 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.212, allocations: 2.412 MB / 0.8637 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.212, allocations: 7.812 kB / 0.8637 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/1.219, allocations: 7.128 MB / 0.8706 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008852/1.22, allocations: 343.9 kB / 0.871 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.221, allocations: 43.14 kB / 0.871 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.222, allocations: 136.4 kB / 0.8711 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.222, allocations: 132.7 kB / 0.8713 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.222, allocations: 71.89 kB / 0.8713 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002227/1.224, allocations: 1.865 MB / 0.8732 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.224, allocations: 0 / 0.8732 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003478/1.228, allocations: 1.061 MB / 0.8742 GB, free: 22.74 MB / 0.5105 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 () * 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.0004001/1.228, allocations: 187.4 kB / 0.8744 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006876/1.235, allocations: 5.676 MB / 0.8799 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.235, allocations: 0 / 0.8799 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003115/1.238, allocations: 2.362 MB / 0.8822 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.24, allocations: 419.4 kB / 0.8826 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.254, allocations: 9.302 MB / 0.8917 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003444/1.258, allocations: 3.775 MB / 0.8954 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004551/1.262, allocations: 2.027 MB / 0.8974 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007686/1.263, allocations: 227.4 kB / 0.8976 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/1.263, allocations: 0 / 0.8976 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.3184/1.581, allocations: 33.82 MB / 0.9306 GB, free: 117.5 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/jenkins/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