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.001172/0.001172, allocations: 183 kB / 16.63 MB, free: 5.137 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.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.001049/0.001049, allocations: 96.81 kB / 269.9 MB, free: 8.438 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.3611/0.3611, allocations: 43.5 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.89 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1197, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2787/0.3984, allocations: 50.36 MB / 0.5248 GB, free: 33.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02402/0.4225, allocations: 10.64 MB / 0.5352 GB, free: 27.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01381/0.4364, allocations: 215.1 kB / 0.5354 GB, free: 27.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006197/0.4426, allocations: 2.821 MB / 0.5381 GB, free: 25.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.4483, allocations: 1.766 MB / 0.5398 GB, free: 24.96 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4501, allocations: 0.6275 MB / 0.5405 GB, free: 24.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.4569, allocations: 5.711 MB / 0.546 GB, free: 22.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/0.4612, allocations: 3.855 MB / 0.5498 GB, free: 21.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.4635, allocations: 1.409 MB / 0.5512 GB, free: 21.03 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.4664, allocations: 2.253 MB / 0.5534 GB, free: 20.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006795/0.4671, allocations: 247.6 kB / 0.5536 GB, free: 20.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.47, allocations: 1.17 MB / 0.5548 GB, free: 19.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.4725, allocations: 1.915 MB / 0.5566 GB, free: 19.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002955/0.4754, allocations: 2.227 MB / 0.5588 GB, free: 17.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4869, allocations: 7.022 MB / 0.5657 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4869, allocations: 0 / 0.5657 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4869, allocations: 1.125 kB / 0.5657 GB, free: 14.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003481/0.4873, allocations: 3.938 kB / 0.5657 GB, free: 14.89 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.01564/0.5029, allocations: 4.854 MB / 0.5704 GB, free: 11.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.503, allocations: 8.438 kB / 0.5704 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007527/0.5105, allocations: 1.937 MB / 0.5723 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/0.5172, allocations: 2.27 MB / 0.5745 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.5175, allocations: 263.7 kB / 0.5748 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.5195, allocations: 429.6 kB / 0.5752 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.5418, allocations: 10.41 MB / 0.5853 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003994/0.5423, allocations: 39.7 kB / 0.5854 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/0.5444, allocations: 163.8 kB / 0.5855 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/0.5478, allocations: 1.947 MB / 0.5874 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.5681, allocations: 8.655 MB / 0.5959 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06148/0.6296, allocations: 40.47 MB / 0.6354 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009906/0.6396, allocations: 3.821 MB / 0.6391 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/0.6423, allocations: 1.761 MB / 0.6409 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/0.6563, allocations: 8.262 MB / 0.6489 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.6564, allocations: 43.56 kB / 0.649 GB, free: 13.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 4.088e-06/0.6564, allocations: 0 / 0.649 GB, free: 13.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.03282/0.6892, allocations: 13.05 MB / 0.6617 GB, free: 15.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001327/0.6906, allocations: 1.628 MB / 0.6633 GB, free: 14.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008102/0.6987, allocations: 3.978 MB / 0.6672 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004407/0.6992, allocations: 53.69 kB / 0.6672 GB, free: 10 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002642/0.7018, allocations: 3.206 MB / 0.6704 GB, free: 6.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/0.703, allocations: 0.6404 MB / 0.671 GB, free: 6.098 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003263/0.7063, allocations: 1.233 MB / 0.6722 GB, free: 4.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.7064, allocations: 305.1 kB / 0.6725 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00421/0.7106, allocations: 2.194 MB / 0.6746 GB, free: 2.352 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00689/0.7175, allocations: 5.944 MB / 0.6804 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2487/0.9662, allocations: 8.712 MB / 0.689 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/0.9664, allocations: 38.72 kB / 0.689 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.0237/0.9901, allocations: 9.607 MB / 0.6984 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/0.9902, allocations: 61.91 kB / 0.6984 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01124/1.001, allocations: 3.874 MB / 0.7022 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/1.012, allocations: 2.227 MB / 0.7044 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/1.017, allocations: 1.403 MB / 0.7058 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008179/1.025, allocations: 6.885 MB / 0.7125 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006431/1.031, allocations: 419.2 kB / 0.7129 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.032, allocations: 376.9 kB / 0.7132 GB, free: 143.9 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 (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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 prepare postOptimizeDAE: time 0.00392/1.036, allocations: 2.12 MB / 0.7153 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/1.037, allocations: 341.1 kB / 0.7156 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005522/1.043, allocations: 3.169 MB / 0.7187 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00438/1.047, allocations: 2.683 MB / 0.7214 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.047, allocations: 3 kB / 0.7214 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.047, allocations: 14.58 kB / 0.7214 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.069, allocations: 9.18 MB / 0.7303 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.069, allocations: 2.25 kB / 0.7303 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/1.07, allocations: 266.3 kB / 0.7306 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/1.073, allocations: 1.046 MB / 0.7316 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/1.073, allocations: 37.36 kB / 0.7316 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004774/1.078, allocations: 5.004 MB / 0.7365 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007232/1.079, allocations: 1.479 MB / 0.738 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05367/1.132, allocations: 32.42 MB / 0.7696 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.134, allocations: 401.6 kB / 0.77 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/1.134, allocations: 43.52 kB / 0.7701 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.136, allocations: 143.8 kB / 0.7702 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/1.136, allocations: 92.8 kB / 0.7703 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.136, allocations: 52.05 kB / 0.7703 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003487/1.14, allocations: 2.469 MB / 0.7727 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/1.14, allocations: 0 / 0.7727 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006303/1.146, allocations: 1.48 MB / 0.7742 GB, free: 103.6 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 (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.0004258/1.146, allocations: 190.6 kB / 0.7744 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009044/1.156, allocations: 5.862 MB / 0.7801 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.156, allocations: 0 / 0.7801 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003524/1.159, allocations: 2.259 MB / 0.7823 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.162, allocations: 419.7 kB / 0.7827 GB, free: 94.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.183, allocations: 14.08 MB / 0.7965 GB, free: 80.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/1.187, allocations: 3.353 MB / 0.7997 GB, free: 77.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004349/1.191, allocations: 1.925 MB / 0.8016 GB, free: 75.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/1.192, allocations: 243.4 kB / 0.8018 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/1.192, allocations: 4 kB / 0.8018 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.06463/1.256, allocations: 48.46 MB / 0.8492 GB, free: 26.74 MB / 0.4948 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@2/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