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.001591/0.001591, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, 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.001179/0.001179, allocations: 91.39 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.5204/0.5204, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.0006404, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1328, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3781/0.511, allocations: 43.12 MB / 0.5208 GB, free: 19.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02849/0.5395, allocations: 10.5 MB / 0.5311 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0122/0.5518, allocations: 215.4 kB / 0.5313 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007854/0.5597, allocations: 2.115 MB / 0.5334 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02365/0.5834, allocations: 6.196 MB / 0.5394 GB, free: 9.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.5875, allocations: 0.5808 MB / 0.54 GB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005379/0.593, allocations: 2.167 MB / 0.5421 GB, free: 7.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008872/0.6019, allocations: 4.627 MB / 0.5466 GB, free: 6.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.6048, allocations: 1.028 MB / 0.5476 GB, free: 5.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/0.6084, allocations: 1.329 MB / 0.5489 GB, free: 5.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.6097, allocations: 146.3 kB / 0.549 GB, free: 5.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.6132, allocations: 0.8849 MB / 0.5499 GB, free: 5.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003462/0.6167, allocations: 1.613 MB / 0.5515 GB, free: 4.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002407/0.6192, allocations: 0.8569 MB / 0.5523 GB, free: 4.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.6304, allocations: 5.661 MB / 0.5579 GB, free: 1.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6304, allocations: 0 / 0.5579 GB, free: 1.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6304, allocations: 0 / 0.5579 GB, free: 1.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003082/0.6308, allocations: 0 / 0.5579 GB, free: 1.461 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01516/0.6459, allocations: 4.044 MB / 0.5618 GB, free: 14.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.646, allocations: 12.56 kB / 0.5618 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/0.6635, allocations: 2.293 MB / 0.5641 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008957/0.6725, allocations: 2.456 MB / 0.5665 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/0.6729, allocations: 259.3 kB / 0.5667 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/0.6759, allocations: 426.3 kB / 0.5671 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03349/0.7094, allocations: 10.49 MB / 0.5773 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.7098, allocations: 47.58 kB / 0.5774 GB, free: 384 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/0.7115, allocations: 167.8 kB / 0.5776 GB, free: 216 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005489/0.717, allocations: 1.936 MB / 0.5794 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.7477, allocations: 8.739 MB / 0.588 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0831/0.8309, allocations: 40.57 MB / 0.6276 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/0.8482, allocations: 3.832 MB / 0.6313 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02218/0.8705, allocations: 8.309 MB / 0.6395 GB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.8706, allocations: 51.56 kB / 0.6395 GB, free: 15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 6.542e-06/0.8706, allocations: 0 / 0.6395 GB, free: 15 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.05798/0.9286, allocations: 13.41 MB / 0.6526 GB, free: 1.359 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001918/0.9306, allocations: 1.635 MB / 0.6542 GB, free: 15.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/0.9412, allocations: 4.092 MB / 0.6582 GB, free: 11.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005623/0.9418, allocations: 45.7 kB / 0.6582 GB, free: 11.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003691/0.9455, allocations: 3.151 MB / 0.6613 GB, free: 8.227 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.9471, allocations: 0.6404 MB / 0.6619 GB, free: 7.578 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.9482, allocations: 124 kB / 0.662 GB, free: 7.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006077/0.9488, allocations: 0.5668 MB / 0.6626 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007024/0.9559, allocations: 2.198 MB / 0.6647 GB, free: 4.676 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/0.9666, allocations: 5.924 MB / 0.6705 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/0.9761, allocations: 3.526 MB / 0.674 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.9763, allocations: 36 kB / 0.674 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.3856/1.362, allocations: 9.478 MB / 0.6833 GB, free: 145 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.362, allocations: 61.47 kB / 0.6833 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02261/1.385, allocations: 3.901 MB / 0.6871 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01998/1.405, allocations: 2.25 MB / 0.6893 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008737/1.414, allocations: 1.397 MB / 0.6907 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.431, allocations: 7.27 MB / 0.6978 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007596/1.438, allocations: 425.1 kB / 0.6982 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.44, allocations: 372.4 kB / 0.6986 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 (750): * Single equations (assignments): 741 * 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.006091/1.446, allocations: 2.122 MB / 0.7006 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008996/1.447, allocations: 337.8 kB / 0.701 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00995/1.457, allocations: 3.175 MB / 0.7041 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008677/1.465, allocations: 2.687 MB / 0.7067 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/1.466, allocations: 3.094 kB / 0.7067 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.878e-05/1.466, allocations: 9.984 kB / 0.7067 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.493, allocations: 9.172 MB / 0.7156 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/1.493, allocations: 2.969 kB / 0.7156 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/1.496, allocations: 271.9 kB / 0.7159 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005871/1.502, allocations: 1.031 MB / 0.7169 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005024/1.503, allocations: 36.88 kB / 0.7169 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009337/1.512, allocations: 5.121 MB / 0.722 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001266/1.513, allocations: 1.486 MB / 0.7234 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/1.53, allocations: 5.722 MB / 0.729 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/1.531, allocations: 418.2 kB / 0.7294 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/1.533, allocations: 30.31 kB / 0.7294 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004125/1.538, allocations: 146.3 kB / 0.7296 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008299/1.538, allocations: 104.4 kB / 0.7297 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.539, allocations: 43.94 kB / 0.7297 GB, free: 129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007157/1.546, allocations: 2.558 MB / 0.7322 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.546, allocations: 0 / 0.7322 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008483/1.554, allocations: 1.122 MB / 0.7333 GB, free: 128 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.001125/1.556, allocations: 179.5 kB / 0.7335 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01639/1.572, allocations: 5.837 MB / 0.7392 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.572, allocations: 0 / 0.7392 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00728/1.579, allocations: 2.25 MB / 0.7414 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/1.583, allocations: 410.1 kB / 0.7418 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/1.611, allocations: 11.95 MB / 0.7534 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007018/1.618, allocations: 3.39 MB / 0.7567 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.62, allocations: 291.3 kB / 0.757 GB, free: 113 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/1.62, allocations: 0 / 0.757 GB, free: 113 MB / 0.4948 GB Notification: Performance of Templates: time 0.6402/2.26, allocations: 128.7 MB / 0.8827 GB, free: 157.3 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/jenkins1/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