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.001667/0.001667, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.879/1.879, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007514/0.0007519, allocations: 90.62 kB / 270.9 MB, free: 8.359 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.3625/0.3625, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3372/0.4879, allocations: 38.36 MB / 0.5162 GB, free: 23.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02729/0.5153, allocations: 8.687 MB / 0.5247 GB, free: 17.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.5273, allocations: 177.9 kB / 0.5249 GB, free: 17.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007022/0.5343, allocations: 1.919 MB / 0.5267 GB, free: 16.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01884/0.5532, allocations: 5.643 MB / 0.5323 GB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.556, allocations: 496.4 kB / 0.5327 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00671/0.5628, allocations: 4.747 MB / 0.5374 GB, free: 12.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006386/0.5692, allocations: 4.325 MB / 0.5416 GB, free: 10.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.5715, allocations: 1.265 MB / 0.5428 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.5748, allocations: 2.026 MB / 0.5448 GB, free: 9.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007692/0.5755, allocations: 164.6 kB / 0.545 GB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.5785, allocations: 0.9141 MB / 0.5459 GB, free: 9.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.5815, allocations: 1.848 MB / 0.5477 GB, free: 9.012 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.5829, allocations: 0.9419 MB / 0.5486 GB, free: 8.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009002/0.5919, allocations: 6.33 MB / 0.5548 GB, free: 4.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.592, allocations: 1.281 kB / 0.5548 GB, free: 4.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.592, allocations: 3.938 kB / 0.5548 GB, free: 4.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005765/0.5926, allocations: 0 / 0.5548 GB, free: 4.676 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.01653/0.6091, allocations: 4.505 MB / 0.5592 GB, free: 1.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6092, allocations: 8.719 kB / 0.5592 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.6218, allocations: 3.287 MB / 0.5624 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006871/0.6287, allocations: 2.34 MB / 0.5647 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.629, allocations: 266.8 kB / 0.5649 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009961/0.63, allocations: 363.7 kB / 0.5653 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/0.6524, allocations: 12.65 MB / 0.5776 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.951e-05/0.6525, allocations: 35.7 kB / 0.5777 GB, free: 480 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004729/0.653, allocations: 159.8 kB / 0.5778 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004252/0.6573, allocations: 2.766 MB / 0.5805 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/0.6816, allocations: 11.56 MB / 0.5918 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07171/0.7534, allocations: 40.44 MB / 0.6313 GB, free: 8.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.7639, allocations: 5.086 MB / 0.6363 GB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/0.7674, allocations: 2.409 MB / 0.6386 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00996/0.7774, allocations: 6.831 MB / 0.6453 GB, free: 9.699 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.7774, allocations: 60.5 kB / 0.6453 GB, free: 9.629 MB / 474.7 MB Notification: Performance of pre-optimization done (n=235): time 3.787e-06/0.7774, allocations: 0 / 0.6453 GB, free: 9.629 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.03619/0.8136, allocations: 16.46 MB / 0.6614 GB, free: 9.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.8137, allocations: 69.41 kB / 0.6615 GB, free: 8.922 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/0.8183, allocations: 3.19 MB / 0.6646 GB, free: 5.719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.8186, allocations: 57.7 kB / 0.6646 GB, free: 5.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.8208, allocations: 3.301 MB / 0.6679 GB, free: 2.305 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009948/0.8218, allocations: 0.9097 MB / 0.6688 GB, free: 1.383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.8221, allocations: 124 kB / 0.6689 GB, free: 1.262 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000358/0.8225, allocations: 0.5666 MB / 0.6694 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3144/1.137, allocations: 2.412 MB / 0.6718 GB, free: 138.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/1.148, allocations: 5.808 MB / 0.6775 GB, free: 133.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007305/1.155, allocations: 3.729 MB / 0.6811 GB, free: 133.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.155, allocations: 32.28 kB / 0.6811 GB, free: 133.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02054/1.176, allocations: 8.983 MB / 0.6899 GB, free: 130 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.176, allocations: 56.5 kB / 0.69 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/1.176, allocations: 118.9 kB / 0.6901 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003309/1.179, allocations: 1.148 MB / 0.6912 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005053/1.184, allocations: 1.391 MB / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/1.19, allocations: 4.598 MB / 0.697 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.195, allocations: 328 kB / 0.6974 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.196, allocations: 357.7 kB / 0.6977 GB, free: 127 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.007091/1.203, allocations: 2.436 MB / 0.7001 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007693/1.204, allocations: 301.1 kB / 0.7004 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/1.212, allocations: 4.478 MB / 0.7047 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-05/1.212, allocations: 50.17 kB / 0.7048 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.212, allocations: 5.703 kB / 0.7048 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/1.212, allocations: 10.27 kB / 0.7048 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/1.232, allocations: 10.61 MB / 0.7152 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.232, allocations: 8.578 kB / 0.7152 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.234, allocations: 396.5 kB / 0.7155 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/1.236, allocations: 0.6724 MB / 0.7162 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.236, allocations: 53.92 kB / 0.7163 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/1.239, allocations: 2.433 MB / 0.7186 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.239, allocations: 7.938 kB / 0.7186 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008951/1.248, allocations: 6.863 MB / 0.7253 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/1.249, allocations: 355.1 kB / 0.7257 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/1.249, allocations: 41.83 kB / 0.7257 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.25, allocations: 143 kB / 0.7259 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/1.251, allocations: 135.6 kB / 0.726 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.251, allocations: 75.33 kB / 0.7261 GB, free: 115.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003154/1.254, allocations: 1.931 MB / 0.7279 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.254, allocations: 0 / 0.7279 GB, free: 114.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005215/1.259, allocations: 1.082 MB / 0.729 GB, free: 113.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.0004558/1.26, allocations: 187.2 kB / 0.7292 GB, free: 112.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008948/1.269, allocations: 5.898 MB / 0.7349 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.269, allocations: 0 / 0.7349 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.272, allocations: 2.436 MB / 0.7373 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.275, allocations: 458.4 kB / 0.7377 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.294, allocations: 14.15 MB / 0.7516 GB, free: 92.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/1.297, allocations: 3.75 MB / 0.7552 GB, free: 89.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.299, allocations: 301.9 kB / 0.7555 GB, free: 88.99 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/1.299, allocations: 4 kB / 0.7555 GB, free: 88.99 MB / 490.7 MB Notification: Performance of Templates: time 0.3574/1.656, allocations: 118.1 MB / 0.8709 GB, free: 145.6 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