Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001097/0.001098, allocations: 183.6 kB / 13.19 MB, free: 2.129 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.441/1.441, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008506/0.0008509, allocations: 85.36 kB / 267 MB, free: 9.27 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.3295/0.3295, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.727e-05, allocations: 0 / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4959, allocations: 107.4 MB / 0.5777 GB, free: 14.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4962, allocations: 78.72 kB / 0.5778 GB, free: 14.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2081/0.7043, allocations: 84.44 MB / 0.6602 GB, free: 2.754 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.7043, allocations: 0 / 0.6602 GB, free: 2.754 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002052/0.7045, allocations: 92 kB / 0.6603 GB, free: 2.664 MB / 474.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.01503/0.7196, allocations: 4.352 MB / 0.6646 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7196, allocations: 8.031 kB / 0.6646 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.7323, allocations: 2.275 MB / 0.6668 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/0.7533, allocations: 4.812 MB / 0.6715 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005196/0.7539, allocations: 346.4 kB / 0.6718 GB, free: 6.734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.7558, allocations: 459.8 kB / 0.6723 GB, free: 6.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.774, allocations: 10.8 MB / 0.6828 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.7742, allocations: 55.5 kB / 0.6829 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005503/0.7748, allocations: 215.9 kB / 0.6831 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001382/0.7762, allocations: 1.046 MB / 0.6841 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.7918, allocations: 8.581 MB / 0.6925 GB, free: 492 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.29/1.082, allocations: 50.02 MB / 0.7413 GB, free: 65.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008508/1.09, allocations: 3.782 MB / 0.745 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/1.092, allocations: 1.74 MB / 0.7467 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009584/1.102, allocations: 8.332 MB / 0.7549 GB, free: 62.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/1.102, allocations: 58.25 kB / 0.7549 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.107e-06/1.102, allocations: 0 / 0.7549 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02286/1.125, allocations: 10.98 MB / 0.7656 GB, free: 58.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009164/1.126, allocations: 1.623 MB / 0.7672 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005287/1.131, allocations: 3.523 MB / 0.7707 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003057/1.132, allocations: 47.48 kB / 0.7707 GB, free: 56.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/1.133, allocations: 3.199 MB / 0.7738 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006099/1.134, allocations: 0.647 MB / 0.7745 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/1.134, allocations: 123.2 kB / 0.7746 GB, free: 53.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002797/1.134, allocations: 0.5644 MB / 0.7751 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/1.138, allocations: 2.11 MB / 0.7772 GB, free: 52.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/1.143, allocations: 5.85 MB / 0.7829 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/1.147, allocations: 3.471 MB / 0.7863 GB, free: 45.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.514e-05/1.148, allocations: 36.97 kB / 0.7863 GB, free: 45.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01844/1.166, allocations: 9.198 MB / 0.7953 GB, free: 42.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/1.166, allocations: 61.84 kB / 0.7954 GB, free: 42.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009023/1.175, allocations: 3.564 MB / 0.7989 GB, free: 41.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008586/1.184, allocations: 1.938 MB / 0.8007 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/1.188, allocations: 1.401 MB / 0.8021 GB, free: 41.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/1.195, allocations: 5.759 MB / 0.8077 GB, free: 37.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/1.201, allocations: 412.9 kB / 0.8081 GB, free: 37.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.202, allocations: 379.4 kB / 0.8085 GB, free: 37.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 743 * 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.001032/1.203, allocations: 0.577 MB / 0.8091 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/1.204, allocations: 337.6 kB / 0.8094 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/1.209, allocations: 3.138 MB / 0.8124 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004136/1.213, allocations: 2.651 MB / 0.815 GB, free: 34.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.213, allocations: 7.891 kB / 0.815 GB, free: 34.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.213, allocations: 7.219 kB / 0.815 GB, free: 34.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.23, allocations: 9.147 MB / 0.824 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/1.23, allocations: 5.828 kB / 0.824 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.231, allocations: 276.9 kB / 0.8242 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/1.234, allocations: 1.019 MB / 0.8252 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/1.234, allocations: 38.3 kB / 0.8253 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004741/1.239, allocations: 5.011 MB / 0.8302 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007464/1.24, allocations: 1.474 MB / 0.8316 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007907/1.248, allocations: 5.666 MB / 0.8371 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.249, allocations: 407.2 kB / 0.8375 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000527/1.25, allocations: 38.89 kB / 0.8376 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.251, allocations: 144.4 kB / 0.8377 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.251, allocations: 99.48 kB / 0.8378 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.252, allocations: 44.64 kB / 0.8378 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003593/1.255, allocations: 2.432 MB / 0.8402 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/1.255, allocations: 0 / 0.8402 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0057/1.261, allocations: 1.103 MB / 0.8413 GB, free: 22.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 () * 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 {(3,100.0%),(4,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.0004496/1.261, allocations: 175.1 kB / 0.8415 GB, free: 22.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008855/1.27, allocations: 5.72 MB / 0.847 GB, free: 17.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.27, allocations: 0 / 0.847 GB, free: 17.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/1.274, allocations: 2.241 MB / 0.8492 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/1.276, allocations: 409.8 kB / 0.8496 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.29, allocations: 8.136 MB / 0.8576 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003034/1.293, allocations: 3.39 MB / 0.8609 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00436/1.297, allocations: 1.898 MB / 0.8627 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/1.298, allocations: 240.9 kB / 0.863 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/1.298, allocations: 0 / 0.863 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of Templates: time 0.3361/1.634, allocations: 36.77 MB / 0.8989 GB, free: 104.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches