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.002403/0.002402, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001117/0.001117, allocations: 94 kB / 270.9 MB, free: 8.371 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.5002/0.5002, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006187/0.0006187, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1205, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4803/0.6008, allocations: 104.4 MB / 0.5807 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.6011, allocations: 87.94 kB / 0.5808 GB, free: 14.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3734/0.9745, allocations: 91.53 MB / 0.6702 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.9746, allocations: 0 / 0.6702 GB, free: 2.039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002123/0.9748, allocations: 80 kB / 0.6702 GB, free: 1.961 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.3673/1.342, allocations: 4.41 MB / 0.6745 GB, free: 92.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.342, allocations: 8.438 kB / 0.6745 GB, free: 92.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02777/1.37, allocations: 3.565 MB / 0.678 GB, free: 92.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/1.388, allocations: 4.71 MB / 0.6826 GB, free: 91.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/1.389, allocations: 337.1 kB / 0.6829 GB, free: 91.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/1.392, allocations: 436.3 kB / 0.6834 GB, free: 91.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/1.424, allocations: 11.05 MB / 0.6942 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/1.424, allocations: 30.84 kB / 0.6942 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001746/1.426, allocations: 194.2 kB / 0.6944 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/1.428, allocations: 1.229 MB / 0.6956 GB, free: 90.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/1.458, allocations: 10.68 MB / 0.706 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0772/1.535, allocations: 37.43 MB / 0.7426 GB, free: 69.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/1.547, allocations: 4.403 MB / 0.7469 GB, free: 67.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/1.549, allocations: 1.319 MB / 0.7481 GB, free: 66.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/1.549, allocations: 56.19 kB / 0.7482 GB, free: 66.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 6.092e-06/1.549, allocations: 0 / 0.7482 GB, free: 66.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.06714/1.616, allocations: 14.3 MB / 0.7622 GB, free: 61.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.616, allocations: 74.03 kB / 0.7622 GB, free: 61.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005367/1.621, allocations: 2.536 MB / 0.7647 GB, free: 60.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005812/1.622, allocations: 64.77 kB / 0.7648 GB, free: 60.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002229/1.624, allocations: 2.931 MB / 0.7676 GB, free: 58.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.626, allocations: 0.9675 MB / 0.7686 GB, free: 57.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007772/1.627, allocations: 117.1 kB / 0.7687 GB, free: 57.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004222/1.627, allocations: 0.5589 MB / 0.7692 GB, free: 57.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005902/1.633, allocations: 2.334 MB / 0.7715 GB, free: 56.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008338/1.641, allocations: 5.487 MB / 0.7769 GB, free: 51.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008301/1.65, allocations: 3.596 MB / 0.7804 GB, free: 50.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.65, allocations: 29.25 kB / 0.7804 GB, free: 50.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0251/1.675, allocations: 8.491 MB / 0.7887 GB, free: 45.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/1.675, allocations: 52 kB / 0.7888 GB, free: 45.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/1.675, allocations: 112.9 kB / 0.7889 GB, free: 45.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006531/1.682, allocations: 1.052 MB / 0.7899 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/1.69, allocations: 1.339 MB / 0.7912 GB, free: 43.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/1.694, allocations: 2.503 MB / 0.7936 GB, free: 41.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/1.7, allocations: 313.8 kB / 0.7939 GB, free: 40.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.701, allocations: 338.9 kB / 0.7943 GB, free: 40.5 MB / 490.7 MB 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 () * Number of clocked 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.005786/1.707, allocations: 2.263 MB / 0.7965 GB, free: 38.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006865/1.708, allocations: 288.2 kB / 0.7967 GB, free: 38.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.723, allocations: 5.07 MB / 0.8017 GB, free: 34.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/1.724, allocations: 47.95 kB / 0.8017 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.724, allocations: 3.422 kB / 0.8017 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/1.724, allocations: 10.69 kB / 0.8018 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03338/1.757, allocations: 11.62 MB / 0.8131 GB, free: 24.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/1.757, allocations: 8 kB / 0.8131 GB, free: 24.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003801/1.761, allocations: 429.6 kB / 0.8135 GB, free: 23.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006181/1.767, allocations: 0.9022 MB / 0.8144 GB, free: 23.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005917/1.768, allocations: 60.91 kB / 0.8145 GB, free: 23.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/1.771, allocations: 2.326 MB / 0.8167 GB, free: 21.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.771, allocations: 11.94 kB / 0.8167 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.791, allocations: 8.157 MB / 0.8247 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/1.792, allocations: 335.5 kB / 0.825 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009378/1.793, allocations: 51.95 kB / 0.8251 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.796, allocations: 137.4 kB / 0.8252 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007273/1.797, allocations: 159.1 kB / 0.8254 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/1.797, allocations: 75.8 kB / 0.8254 GB, free: 12.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004134/1.801, allocations: 1.727 MB / 0.8271 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.801, allocations: 4.594 kB / 0.8271 GB, free: 11.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006254/1.807, allocations: 1.006 MB / 0.8281 GB, free: 10.42 MB / 490.7 MB 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 () * Number of clocked 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.0008272/1.808, allocations: 200.3 kB / 0.8283 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01519/1.823, allocations: 6.154 MB / 0.8343 GB, free: 4.039 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.824, allocations: 4 kB / 0.8343 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007356/1.831, allocations: 2.596 MB / 0.8368 GB, free: 1.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.834, allocations: 392.5 kB / 0.8372 GB, free: 1.016 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/1.869, allocations: 13.51 MB / 0.8504 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01391/1.883, allocations: 3.604 MB / 0.8539 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003039/1.886, allocations: 294.5 kB / 0.8542 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of SimCode: time 2.614e-06/1.886, allocations: 0 / 0.8542 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.5499/2.436, allocations: 114.7 MB / 0.9662 GB, free: 81.28 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