Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 180.1 kB / 16.41 MB, free: 5.727 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.666/1.666, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008724/0.0008725, allocations: 82.36 kB / 270.9 MB, free: 8.355 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.4327/0.4327, allocations: 43.57 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 58.86 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3254/0.4825, allocations: 45.63 MB / 0.5233 GB, free: 18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.5108, allocations: 10.08 MB / 0.5332 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01394/0.5248, allocations: 211.2 kB / 0.5334 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008973/0.5338, allocations: 2.341 MB / 0.5356 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02231/0.5561, allocations: 6.97 MB / 0.5424 GB, free: 7.383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.5598, allocations: 0.5824 MB / 0.543 GB, free: 7.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006982/0.5668, allocations: 4.515 MB / 0.5474 GB, free: 5.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008232/0.5751, allocations: 4.664 MB / 0.552 GB, free: 3.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.5782, allocations: 1.259 MB / 0.5532 GB, free: 3.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.5817, allocations: 1.923 MB / 0.5551 GB, free: 2.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006585/0.5824, allocations: 146.4 kB / 0.5552 GB, free: 2.797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.5848, allocations: 0.9122 MB / 0.5561 GB, free: 2.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.5868, allocations: 1.732 MB / 0.5578 GB, free: 1.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.5879, allocations: 0.8615 MB / 0.5586 GB, free: 1.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00671/0.5947, allocations: 5.645 MB / 0.5642 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5947, allocations: 2.312 kB / 0.5642 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5947, allocations: 0 / 0.5642 GB, free: 13.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002098/0.5949, allocations: 0 / 0.5642 GB, free: 13.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01034/0.6053, allocations: 4.021 MB / 0.5681 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.6053, allocations: 10.5 kB / 0.5681 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0077/0.613, allocations: 1.979 MB / 0.57 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/0.6184, allocations: 2.235 MB / 0.5722 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.6186, allocations: 263.6 kB / 0.5725 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000969/0.6196, allocations: 423.7 kB / 0.5729 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.6389, allocations: 10.39 MB / 0.583 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.6391, allocations: 47.61 kB / 0.5831 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.6396, allocations: 163.8 kB / 0.5832 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002953/0.6426, allocations: 1.939 MB / 0.5851 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.6608, allocations: 8.628 MB / 0.5935 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06296/0.7238, allocations: 40.43 MB / 0.633 GB, free: 6.277 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009812/0.7337, allocations: 3.818 MB / 0.6367 GB, free: 2.312 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/0.7366, allocations: 1.752 MB / 0.6385 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.7524, allocations: 8.255 MB / 0.6465 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.7525, allocations: 47.56 kB / 0.6466 GB, free: 7.809 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 8.657e-06/0.7526, allocations: 0 / 0.6466 GB, free: 7.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.0357/0.7883, allocations: 13.05 MB / 0.6593 GB, free: 10.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001531/0.7898, allocations: 1.624 MB / 0.6609 GB, free: 8.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008457/0.7983, allocations: 3.959 MB / 0.6648 GB, free: 4.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006989/0.7991, allocations: 49.61 kB / 0.6648 GB, free: 4.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003268/0.8024, allocations: 3.206 MB / 0.6679 GB, free: 1.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.8035, allocations: 0.6521 MB / 0.6686 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/0.8039, allocations: 120 kB / 0.6687 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003881/0.8043, allocations: 0.5583 MB / 0.6692 GB, free: 184 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.8079, allocations: 2.171 MB / 0.6714 GB, free: 14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006266/0.8142, allocations: 5.916 MB / 0.6771 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/0.8202, allocations: 3.498 MB / 0.6806 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.43e-05/0.8203, allocations: 36 kB / 0.6806 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.331/1.151, allocations: 9.553 MB / 0.6899 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/1.151, allocations: 63.19 kB / 0.69 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01091/1.162, allocations: 3.859 MB / 0.6937 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009912/1.172, allocations: 2.25 MB / 0.6959 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004548/1.177, allocations: 1.401 MB / 0.6973 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/1.185, allocations: 6.871 MB / 0.704 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/1.191, allocations: 430.5 kB / 0.7044 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009959/1.192, allocations: 377.6 kB / 0.7048 GB, free: 142.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (754): * Single equations (assignments): 745 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0038/1.195, allocations: 2.12 MB / 0.7069 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/1.196, allocations: 331.7 kB / 0.7072 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005313/1.201, allocations: 3.175 MB / 0.7103 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004242/1.206, allocations: 2.684 MB / 0.7129 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.206, allocations: 6.094 kB / 0.7129 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.206, allocations: 7.656 kB / 0.7129 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/1.223, allocations: 9.17 MB / 0.7219 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.223, allocations: 1.953 kB / 0.7219 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.225, allocations: 268.8 kB / 0.7221 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/1.228, allocations: 1.035 MB / 0.7231 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.228, allocations: 40.58 kB / 0.7232 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/1.233, allocations: 5.015 MB / 0.7281 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007833/1.234, allocations: 1.476 MB / 0.7295 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008603/1.243, allocations: 5.559 MB / 0.7349 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.244, allocations: 415.4 kB / 0.7353 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/1.244, allocations: 30.5 kB / 0.7354 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.246, allocations: 149.1 kB / 0.7355 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/1.246, allocations: 101.3 kB / 0.7356 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.246, allocations: 50.73 kB / 0.7357 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003871/1.25, allocations: 2.45 MB / 0.738 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.25, allocations: 3.719 kB / 0.7381 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006711/1.257, allocations: 1.101 MB / 0.7391 GB, free: 127.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0005357/1.257, allocations: 162.1 kB / 0.7393 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.267, allocations: 5.83 MB / 0.745 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.267, allocations: 0 / 0.745 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003931/1.271, allocations: 2.26 MB / 0.7472 GB, free: 124 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/1.274, allocations: 422.4 kB / 0.7476 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.292, allocations: 11.99 MB / 0.7593 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/1.295, allocations: 3.295 MB / 0.7625 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.296, allocations: 287.4 kB / 0.7628 GB, free: 108 MB / 0.4948 GB Notification: Performance of SimCode: time 2.184e-06/1.296, allocations: 4 kB / 0.7628 GB, free: 108 MB / 0.4948 GB Notification: Performance of Templates: time 0.4348/1.731, allocations: 135 MB / 0.8946 GB, free: 158.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches