Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001486, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2831/0.2831, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.246e-05, allocations: 11.98 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.506/0.6184, allocations: 104.3 MB / 0.5747 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6187, allocations: 79.11 kB / 0.5747 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3967/1.015, allocations: 91.61 MB / 0.6642 GB, free: 11.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.015, allocations: 0 / 0.6642 GB, free: 11.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002431/1.016, allocations: 76 kB / 0.6643 GB, free: 11.62 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02411/1.04, allocations: 4.273 MB / 0.6684 GB, free: 7.277 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.04, allocations: 12.02 kB / 0.6685 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02794/1.068, allocations: 3.562 MB / 0.6719 GB, free: 3.691 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/1.088, allocations: 4.678 MB / 0.6765 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/1.089, allocations: 340.6 kB / 0.6768 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/1.092, allocations: 439.8 kB / 0.6772 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03687/1.129, allocations: 10.96 MB / 0.688 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/1.129, allocations: 35.67 kB / 0.688 GB, free: 2.707 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/1.132, allocations: 191.9 kB / 0.6882 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003214/1.135, allocations: 1.239 MB / 0.6894 GB, free: 1.277 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03315/1.169, allocations: 10.53 MB / 0.6997 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4208/1.589, allocations: 37.43 MB / 0.7362 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.602, allocations: 4.361 MB / 0.7405 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/1.606, allocations: 2.128 MB / 0.7425 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/1.608, allocations: 1.325 MB / 0.7438 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/1.608, allocations: 51.94 kB / 0.7439 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.372e-06/1.608, allocations: 0 / 0.7439 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.05738/1.665, allocations: 11.17 MB / 0.7548 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.665, allocations: 74.97 kB / 0.7549 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004751/1.67, allocations: 2.506 MB / 0.7573 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005755/1.671, allocations: 60.48 kB / 0.7574 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.673, allocations: 2.937 MB / 0.7602 GB, free: 98.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.674, allocations: 0.9715 MB / 0.7612 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005995/1.675, allocations: 114.7 kB / 0.7613 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003863/1.675, allocations: 0.5589 MB / 0.7619 GB, free: 97.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005131/1.68, allocations: 2.288 MB / 0.7641 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/1.688, allocations: 5.443 MB / 0.7694 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/1.696, allocations: 3.574 MB / 0.7729 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.696, allocations: 32.03 kB / 0.7729 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0245/1.72, allocations: 8.404 MB / 0.7811 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/1.72, allocations: 55.06 kB / 0.7812 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/1.721, allocations: 110.1 kB / 0.7813 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006531/1.727, allocations: 1.053 MB / 0.7823 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008399/1.736, allocations: 1.344 MB / 0.7836 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/1.739, allocations: 2.464 MB / 0.786 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006221/1.746, allocations: 318.2 kB / 0.7863 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/1.747, allocations: 336.2 kB / 0.7867 GB, free: 86.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * 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 (722): * Single equations (assignments): 713 * 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 prepare postOptimizeDAE: time 0.001416/1.749, allocations: 0.5243 MB / 0.7872 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006879/1.749, allocations: 286.4 kB / 0.7874 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.765, allocations: 5.027 MB / 0.7924 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001157/1.765, allocations: 47.28 kB / 0.7924 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.765, allocations: 6.391 kB / 0.7924 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.988e-05/1.765, allocations: 9.469 kB / 0.7924 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03264/1.798, allocations: 11.57 MB / 0.8037 GB, free: 79.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.075e-05/1.798, allocations: 12.22 kB / 0.8037 GB, free: 79.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003847/1.802, allocations: 422.9 kB / 0.8041 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006063/1.808, allocations: 0.905 MB / 0.805 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006264/1.809, allocations: 64.11 kB / 0.8051 GB, free: 78.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/1.812, allocations: 2.279 MB / 0.8073 GB, free: 76.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.812, allocations: 11.94 kB / 0.8073 GB, free: 76.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.831, allocations: 8.096 MB / 0.8152 GB, free: 68.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009255/1.832, allocations: 328.9 kB / 0.8155 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009156/1.833, allocations: 60.97 kB / 0.8156 GB, free: 68.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00256/1.835, allocations: 140.1 kB / 0.8157 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005315/1.836, allocations: 156 kB / 0.8159 GB, free: 68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/1.836, allocations: 80.19 kB / 0.8159 GB, free: 67.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00374/1.84, allocations: 1.704 MB / 0.8176 GB, free: 66.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.41e-07/1.84, allocations: 0 / 0.8176 GB, free: 66.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006639/1.847, allocations: 1.014 MB / 0.8186 GB, free: 65.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.001024/1.848, allocations: 194.7 kB / 0.8188 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01523/1.863, allocations: 6.083 MB / 0.8247 GB, free: 59.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.863, allocations: 1.812 kB / 0.8247 GB, free: 59.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/1.87, allocations: 2.573 MB / 0.8272 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.874, allocations: 384.4 kB / 0.8276 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/1.899, allocations: 9.84 MB / 0.8372 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006808/1.906, allocations: 3.605 MB / 0.8407 GB, free: 45.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/1.908, allocations: 282.5 kB / 0.841 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.908, allocations: 0 / 0.841 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.557/2.465, allocations: 114.7 MB / 0.953 GB, free: 119.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches