Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009828, allocations: 169.2 kB / 16.72 MB, free: 5.051 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.302/1.302, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007356/0.0007358, allocations: 92.36 kB / 271.2 MB, free: 8.25 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.312/0.312, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2032/0.3148, allocations: 38.37 MB / 0.5168 GB, free: 23.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.3308, allocations: 8.693 MB / 0.5253 GB, free: 17.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006509/0.3373, allocations: 181.6 kB / 0.5255 GB, free: 17.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00486/0.3422, allocations: 1.916 MB / 0.5273 GB, free: 16.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.3556, allocations: 5.665 MB / 0.5329 GB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.3582, allocations: 0.5354 MB / 0.5334 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005268/0.3635, allocations: 4.848 MB / 0.5381 GB, free: 12.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00558/0.3691, allocations: 4.628 MB / 0.5426 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.3712, allocations: 1.264 MB / 0.5439 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.3744, allocations: 2.034 MB / 0.5459 GB, free: 9.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007797/0.3752, allocations: 166 kB / 0.546 GB, free: 9.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.378, allocations: 1.071 MB / 0.5471 GB, free: 9.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.3805, allocations: 1.84 MB / 0.5489 GB, free: 8.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.3832, allocations: 2.135 MB / 0.5509 GB, free: 7.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006857/0.3901, allocations: 6.337 MB / 0.5571 GB, free: 3.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3901, allocations: 1.375 kB / 0.5571 GB, free: 3.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3901, allocations: 0 / 0.5571 GB, free: 3.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002304/0.3903, allocations: 0 / 0.5571 GB, free: 3.352 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.009999/0.4003, allocations: 4.441 MB / 0.5615 GB, free: 244 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4004, allocations: 10.03 kB / 0.5615 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.4108, allocations: 3.287 MB / 0.5647 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/0.4163, allocations: 2.379 MB / 0.567 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.4165, allocations: 271.4 kB / 0.5673 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.4178, allocations: 355.7 kB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.4395, allocations: 12.65 MB / 0.58 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.4396, allocations: 31.7 kB / 0.58 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005165/0.4401, allocations: 163.8 kB / 0.5801 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/0.4441, allocations: 2.758 MB / 0.5828 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02294/0.4671, allocations: 11.56 MB / 0.5941 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05834/0.5254, allocations: 40.49 MB / 0.6337 GB, free: 6.598 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009705/0.5352, allocations: 5.072 MB / 0.6386 GB, free: 1.293 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/0.5385, allocations: 2.405 MB / 0.641 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.5488, allocations: 6.839 MB / 0.6476 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.5488, allocations: 52.56 kB / 0.6477 GB, free: 7.605 MB / 474.7 MB Notification: Performance of pre-optimization done (n=235): time 5.5e-06/0.5489, allocations: 0 / 0.6477 GB, free: 7.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.03521/0.5841, allocations: 16.46 MB / 0.6638 GB, free: 6.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.5842, allocations: 77.34 kB / 0.6638 GB, free: 6.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/0.5884, allocations: 3.194 MB / 0.667 GB, free: 3.695 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.5886, allocations: 61.69 kB / 0.667 GB, free: 3.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.5906, allocations: 3.301 MB / 0.6702 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1816/0.7722, allocations: 0.9094 MB / 0.6711 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005583/0.7728, allocations: 119.9 kB / 0.6712 GB, free: 138.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003492/0.7731, allocations: 0.5693 MB / 0.6718 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/0.7767, allocations: 2.41 MB / 0.6742 GB, free: 138.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004749/0.7815, allocations: 5.81 MB / 0.6798 GB, free: 134.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008171/0.7896, allocations: 8.943 MB / 0.6886 GB, free: 127.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.7898, allocations: 35.16 kB / 0.6886 GB, free: 127.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01393/0.8037, allocations: 8.987 MB / 0.6974 GB, free: 124.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.8038, allocations: 57.09 kB / 0.6974 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.804, allocations: 117.5 kB / 0.6975 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.8068, allocations: 1.134 MB / 0.6986 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/0.8108, allocations: 1.391 MB / 0.7 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.8154, allocations: 4.591 MB / 0.7045 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/0.8192, allocations: 331 kB / 0.7048 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005529/0.8198, allocations: 356.6 kB / 0.7051 GB, free: 121.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (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 (756): * Single equations (assignments): 748 * 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.003663/0.8235, allocations: 2.43 MB / 0.7075 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.8239, allocations: 305.4 kB / 0.7078 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006784/0.8307, allocations: 4.495 MB / 0.7122 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/0.8308, allocations: 43.42 kB / 0.7122 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.8308, allocations: 4.594 kB / 0.7122 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8308, allocations: 11.92 kB / 0.7123 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.847, allocations: 10.61 MB / 0.7226 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.847, allocations: 3.719 kB / 0.7226 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.8485, allocations: 397.8 kB / 0.723 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.8504, allocations: 0.6733 MB / 0.7237 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.8505, allocations: 51.48 kB / 0.7237 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.8528, allocations: 2.43 MB / 0.7261 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8529, allocations: 10.09 kB / 0.7261 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/0.8613, allocations: 6.869 MB / 0.7328 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007882/0.8622, allocations: 356.2 kB / 0.7331 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.8625, allocations: 50.39 kB / 0.7332 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.8636, allocations: 139.8 kB / 0.7333 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.8639, allocations: 134.8 kB / 0.7334 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.8641, allocations: 69.83 kB / 0.7335 GB, free: 107.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002557/0.8666, allocations: 1.934 MB / 0.7354 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8666, allocations: 0 / 0.7354 GB, free: 106.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004274/0.8709, allocations: 1.079 MB / 0.7365 GB, free: 105.1 MB / 490.7 MB 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 (197): * Single equations (assignments): 188 * 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.0003954/0.8713, allocations: 188.9 kB / 0.7366 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007289/0.8786, allocations: 5.893 MB / 0.7424 GB, free: 99.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8786, allocations: 1.875 kB / 0.7424 GB, free: 99.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/0.8817, allocations: 2.436 MB / 0.7448 GB, free: 97.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.8855, allocations: 450.5 kB / 0.7452 GB, free: 97.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.9015, allocations: 14.17 MB / 0.759 GB, free: 84.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/0.9046, allocations: 3.756 MB / 0.7627 GB, free: 81.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.9057, allocations: 289.7 kB / 0.763 GB, free: 80.97 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9057, allocations: 0 / 0.763 GB, free: 80.97 MB / 490.7 MB Notification: Performance of Templates: time 0.2814/1.187, allocations: 118 MB / 0.8782 GB, free: 141.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches