Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 180.9 kB / 8.006 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000806/0.000806, allocations: 82.66 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1902/0.1902, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.353e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5236, allocations: 103.6 MB / 0.5671 GB, free: 8.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5239, allocations: 81.86 kB / 0.5672 GB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2243/0.7482, allocations: 90.34 MB / 0.6554 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7483, allocations: 0 / 0.6554 GB, free: 5.617 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.7484, allocations: 83.98 kB / 0.6555 GB, free: 5.535 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.01379/0.7622, allocations: 4.301 MB / 0.6597 GB, free: 1.168 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.7623, allocations: 12.03 kB / 0.6597 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.7783, allocations: 3.581 MB / 0.6632 GB, free: 13.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.7923, allocations: 4.713 MB / 0.6678 GB, free: 8.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.7926, allocations: 147.9 kB / 0.668 GB, free: 8.652 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/0.7951, allocations: 260 kB / 0.6682 GB, free: 8.398 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/0.8109, allocations: 7.937 MB / 0.676 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0245/0.8355, allocations: 10.38 MB / 0.6861 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.8357, allocations: 31.66 kB / 0.6861 GB, free: 5.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006958/0.8364, allocations: 15.94 kB / 0.6862 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.8381, allocations: 1.259 MB / 0.6874 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3431/1.181, allocations: 35.47 MB / 0.722 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/1.186, allocations: 4.089 MB / 0.726 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/1.19, allocations: 2.167 MB / 0.7281 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/1.191, allocations: 1.33 MB / 0.7294 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.191, allocations: 54.86 kB / 0.7295 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=246): time 4.338e-06/1.191, allocations: 0 / 0.7295 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.0246/1.216, allocations: 10.48 MB / 0.7397 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.216, allocations: 75.55 kB / 0.7398 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/1.219, allocations: 2.422 MB / 0.7422 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/1.22, allocations: 29.27 kB / 0.7422 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/1.221, allocations: 3.052 MB / 0.7452 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000727/1.222, allocations: 0.9328 MB / 0.7461 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.222, allocations: 0 / 0.7461 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002493/1.222, allocations: 0.57 MB / 0.7466 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/1.224, allocations: 2.195 MB / 0.7488 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/1.228, allocations: 5.592 MB / 0.7542 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/1.232, allocations: 3.537 MB / 0.7577 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-05/1.232, allocations: 38.95 kB / 0.7577 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01185/1.244, allocations: 7.902 MB / 0.7654 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/1.244, allocations: 57.97 kB / 0.7655 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/1.244, allocations: 117.9 kB / 0.7656 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/1.247, allocations: 1.036 MB / 0.7666 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/1.252, allocations: 1.402 MB / 0.768 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/1.254, allocations: 2.407 MB / 0.7703 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.258, allocations: 212.5 kB / 0.7705 GB, free: 99.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007725/1.259, allocations: 358 kB / 0.7709 GB, free: 99.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 751 * 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 {(3,100.0%),(2,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.0008089/1.26, allocations: 416.2 kB / 0.7713 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/1.26, allocations: 282.7 kB / 0.7716 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007774/1.268, allocations: 4.723 MB / 0.7762 GB, free: 97.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/1.268, allocations: 44.11 kB / 0.7762 GB, free: 97.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.268, allocations: 2.781 kB / 0.7762 GB, free: 97.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/1.268, allocations: 9.844 kB / 0.7762 GB, free: 97.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.286, allocations: 10.29 MB / 0.7863 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.286, allocations: 7.031 kB / 0.7863 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.287, allocations: 412.6 kB / 0.7867 GB, free: 93.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/1.29, allocations: 0.5973 MB / 0.7873 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.29, allocations: 26.66 kB / 0.7873 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/1.292, allocations: 2.018 MB / 0.7892 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.292, allocations: 13.84 kB / 0.7893 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009051/1.301, allocations: 7.606 MB / 0.7967 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/1.302, allocations: 328.3 kB / 0.797 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/1.302, allocations: 19.33 kB / 0.797 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.303, allocations: 97.52 kB / 0.7971 GB, free: 86.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.303, allocations: 160.8 kB / 0.7973 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.304, allocations: 75.38 kB / 0.7973 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002041/1.306, allocations: 1.587 MB / 0.7989 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.306, allocations: 3.906 kB / 0.7989 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004328/1.31, allocations: 0.8659 MB / 0.7997 GB, free: 84.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 200 * 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.0004239/1.31, allocations: 161.4 kB / 0.7999 GB, free: 84.35 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.008186/1.319, allocations: 5.76 MB / 0.8055 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/1.319, allocations: 4 kB / 0.8055 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003314/1.322, allocations: 2.298 MB / 0.8078 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.324, allocations: 288.3 kB / 0.808 GB, free: 76.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.338, allocations: 9.223 MB / 0.817 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.342, allocations: 3.607 MB / 0.8206 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0044/1.346, allocations: 2.183 MB / 0.8227 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/1.347, allocations: 225.8 kB / 0.8229 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/1.347, allocations: 2.625 kB / 0.8229 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.04539/1.392, allocations: 27.53 MB / 0.8498 GB, free: 43 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches