Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001099, allocations: 109.3 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4176/0.4176, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3874, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.03188/0.4193, allocations: 42 MB / 0.5562 GB, free: 7.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.4413, allocations: 9.171 MB / 0.5651 GB, free: 1.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01037/0.4517, allocations: 174.7 kB / 0.5653 GB, free: 1.688 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.4571, allocations: 2.326 MB / 0.5676 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.463, allocations: 1.81 MB / 0.5693 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.4649, allocations: 0.5313 MB / 0.5699 GB, free: 15.62 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008805/0.4737, allocations: 6.065 MB / 0.5758 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005112/0.4788, allocations: 3.537 MB / 0.5792 GB, free: 7.781 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.4817, allocations: 1.389 MB / 0.5806 GB, free: 6.387 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.4854, allocations: 2.286 MB / 0.5828 GB, free: 4.094 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009483/0.4864, allocations: 252 kB / 0.5831 GB, free: 3.848 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.4893, allocations: 1.166 MB / 0.5842 GB, free: 2.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.4913, allocations: 1.975 MB / 0.5861 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002778/0.4941, allocations: 2.341 MB / 0.5884 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00921/0.5033, allocations: 7.566 MB / 0.5958 GB, free: 6.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.5034, allocations: 4 kB / 0.5958 GB, free: 6.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5034, allocations: 0 / 0.5958 GB, free: 6.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002387/0.5036, allocations: 4 kB / 0.5958 GB, free: 6.746 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.0124/0.516, allocations: 5.432 MB / 0.6011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5161, allocations: 8.031 kB / 0.6011 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.5266, allocations: 3.18 MB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/0.5324, allocations: 2.262 MB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.5327, allocations: 263 kB / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.5338, allocations: 355.7 kB / 0.607 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.5558, allocations: 12.34 MB / 0.6191 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/0.556, allocations: 31.72 kB / 0.6191 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005514/0.5566, allocations: 159.8 kB / 0.6193 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004583/0.5612, allocations: 2.696 MB / 0.6219 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.5831, allocations: 11.29 MB / 0.6329 GB, free: 140 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06351/0.6466, allocations: 39.55 MB / 0.6715 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.657, allocations: 4.962 MB / 0.6764 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/0.6605, allocations: 2.371 MB / 0.6787 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2922/0.9528, allocations: 6.744 MB / 0.6853 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.9529, allocations: 50.44 kB / 0.6853 GB, free: 127 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 5.019e-06/0.9529, allocations: 0 / 0.6853 GB, free: 127 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03252/0.9854, allocations: 16.16 MB / 0.7011 GB, free: 121.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9855, allocations: 76.44 kB / 0.7012 GB, free: 121.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/0.9909, allocations: 3.14 MB / 0.7043 GB, free: 120.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003739/0.9913, allocations: 53.88 kB / 0.7043 GB, free: 120.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/0.9934, allocations: 3.225 MB / 0.7075 GB, free: 117.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.9945, allocations: 0.8794 MB / 0.7083 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.9962, allocations: 1.212 MB / 0.7095 GB, free: 116.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.9962, allocations: 302.8 kB / 0.7098 GB, free: 116.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/1.001, allocations: 2.376 MB / 0.7121 GB, free: 115.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006457/1.007, allocations: 5.692 MB / 0.7177 GB, free: 110.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00826/1.016, allocations: 8.752 MB / 0.7262 GB, free: 103.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.016, allocations: 31.22 kB / 0.7262 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=795) (initialization): time 0.0136/1.029, allocations: 8.835 MB / 0.7349 GB, free: 98.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/1.029, allocations: 55.94 kB / 0.7349 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/1.03, allocations: 120.1 kB / 0.735 GB, free: 98.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/1.033, allocations: 1.117 MB / 0.7361 GB, free: 97.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/1.037, allocations: 1.349 MB / 0.7374 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/1.041, allocations: 4.6 MB / 0.7419 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/1.045, allocations: 325.3 kB / 0.7422 GB, free: 91.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006023/1.046, allocations: 346.8 kB / 0.7426 GB, free: 91.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003379/1.049, allocations: 2.375 MB / 0.7449 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/1.05, allocations: 292.2 kB / 0.7452 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005896/1.056, allocations: 4.386 MB / 0.7495 GB, free: 84.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/1.056, allocations: 51.67 kB / 0.7495 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.056, allocations: 3.938 kB / 0.7495 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.056, allocations: 7.969 kB / 0.7495 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/1.071, allocations: 10.39 MB / 0.7597 GB, free: 74.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.072, allocations: 4 kB / 0.7597 GB, free: 74.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.073, allocations: 376.1 kB / 0.76 GB, free: 73.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/1.075, allocations: 0.6735 MB / 0.7607 GB, free: 73.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.075, allocations: 59.94 kB / 0.7607 GB, free: 72.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/1.077, allocations: 2.432 MB / 0.7631 GB, free: 70.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.077, allocations: 7.938 kB / 0.7631 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03672/1.114, allocations: 25.33 MB / 0.7879 GB, free: 44.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/1.114, allocations: 337.4 kB / 0.7882 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/1.115, allocations: 47.92 kB / 0.7882 GB, free: 44.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.116, allocations: 139.2 kB / 0.7884 GB, free: 44.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.116, allocations: 133.8 kB / 0.7885 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.117, allocations: 63.98 kB / 0.7886 GB, free: 43.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002298/1.119, allocations: 1.903 MB / 0.7904 GB, free: 42 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.119, allocations: 0 / 0.7904 GB, free: 42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004614/1.123, allocations: 1.294 MB / 0.7917 GB, free: 40.72 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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004296/1.124, allocations: 189.2 kB / 0.7919 GB, free: 40.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006976/1.131, allocations: 5.77 MB / 0.7975 GB, free: 34.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.131, allocations: 0.8125 kB / 0.7975 GB, free: 34.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/1.134, allocations: 2.4 MB / 0.7998 GB, free: 32.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.136, allocations: 464.8 kB / 0.8003 GB, free: 31.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.157, allocations: 15.94 MB / 0.8158 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/1.161, allocations: 3.752 MB / 0.8195 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004469/1.166, allocations: 2.04 MB / 0.8215 GB, free: 9.965 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/1.167, allocations: 239.4 kB / 0.8217 GB, free: 9.73 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/1.167, allocations: 0 / 0.8217 GB, free: 9.73 MB / 490.7 MB Notification: Performance of Templates: time 0.06984/1.237, allocations: 41.09 MB / 0.8619 GB, free: 0.8164 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches