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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 109.5 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 200.2 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 70.02 kB / 442.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01239/0.1159, allocations: 11.9 MB / 0.5002 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008407/0.1244, allocations: 4.175 MB / 0.5043 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.1264, allocations: 67.81 kB / 0.5044 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005436/0.1318, allocations: 2.842 MB / 0.5072 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.1375, allocations: 1.887 MB / 0.509 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.1394, allocations: 0.694 MB / 0.5097 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005207/0.1447, allocations: 3.852 MB / 0.5134 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.1494, allocations: 3.894 MB / 0.5172 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.153, allocations: 1.581 MB / 0.5188 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.1564, allocations: 2.122 MB / 0.5209 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.1575, allocations: 356 kB / 0.5212 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.1604, allocations: 1.213 MB / 0.5224 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002538/0.163, allocations: 2.018 MB / 0.5243 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003506/0.1665, allocations: 2.315 MB / 0.5266 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2632/0.4297, allocations: 7.343 MB / 0.5338 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4298, allocations: 2.359 kB / 0.5338 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4298, allocations: 0 / 0.5338 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002327/0.43, allocations: 0 / 0.5338 GB, free: 14.97 MB / 414.1 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.01113/0.4412, allocations: 4.853 MB / 0.5385 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4412, allocations: 13.94 kB / 0.5385 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00761/0.4489, allocations: 1.932 MB / 0.5404 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.4543, allocations: 2.313 MB / 0.5427 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4545, allocations: 255.8 kB / 0.5429 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.4556, allocations: 427.8 kB / 0.5433 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.4742, allocations: 10.42 MB / 0.5535 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4743, allocations: 40.56 kB / 0.5535 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004248/0.4748, allocations: 165.1 kB / 0.5537 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00273/0.4775, allocations: 1.942 MB / 0.5556 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.4925, allocations: 8.647 MB / 0.564 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04628/0.5388, allocations: 40.27 MB / 0.6034 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009593/0.5485, allocations: 3.827 MB / 0.6071 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/0.551, allocations: 1.762 MB / 0.6088 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.5637, allocations: 8.272 MB / 0.6169 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.5638, allocations: 47.56 kB / 0.6169 GB, free: 2.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 4.549e-06/0.5638, allocations: 0 / 0.6169 GB, free: 2.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=154): time 0.03111/0.5949, allocations: 12.63 MB / 0.6293 GB, free: 5.938 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5951, allocations: 153.3 kB / 0.6294 GB, free: 5.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007799/0.6029, allocations: 3.978 MB / 0.6333 GB, free: 1.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/0.6033, allocations: 49.38 kB / 0.6334 GB, free: 1.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002494/0.6058, allocations: 3.2 MB / 0.6365 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000946/0.6067, allocations: 0.6297 MB / 0.6371 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/0.6093, allocations: 1.217 MB / 0.6383 GB, free: 12.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6094, allocations: 305.1 kB / 0.6386 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/0.6132, allocations: 2.091 MB / 0.6406 GB, free: 10.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005788/0.619, allocations: 5.836 MB / 0.6463 GB, free: 2.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009325/0.6283, allocations: 8.543 MB / 0.6547 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.6284, allocations: 44 kB / 0.6547 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.02191/0.6503, allocations: 9.373 MB / 0.6639 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.6505, allocations: 64 kB / 0.6639 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01117/0.6617, allocations: 3.64 MB / 0.6675 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.672, allocations: 2.23 MB / 0.6697 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00532/0.6774, allocations: 1.388 MB / 0.671 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.6884, allocations: 7.488 MB / 0.6783 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/0.6934, allocations: 375.3 kB / 0.6787 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/0.6946, allocations: 360.2 kB / 0.679 GB, free: 15.83 MB / 0.5294 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 (749): * Single equations (assignments): 742 * 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 prepare postOptimizeDAE: time 0.004441/0.699, allocations: 2.123 MB / 0.6811 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008898/0.6999, allocations: 335.6 kB / 0.6814 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/0.7061, allocations: 2.876 MB / 0.6842 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.7062, allocations: 11.91 kB / 0.6842 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.7062, allocations: 4 kB / 0.6842 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/0.7072, allocations: 380.7 kB / 0.6846 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007932/0.708, allocations: 43.98 kB / 0.6846 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.7098, allocations: 115.8 kB / 0.6848 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.7101, allocations: 84.81 kB / 0.6848 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006513/0.7166, allocations: 3.555 MB / 0.6883 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005614/0.7222, allocations: 4.447 MB / 0.6927 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001439/0.7237, allocations: 1.175 MB / 0.6938 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004655/0.7284, allocations: 2.477 MB / 0.6962 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Backend: time 6.92e-07/0.7284, allocations: 0 / 0.6962 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01157/0.74, allocations: 4.877 MB / 0.701 GB, free: 9.273 MB / 0.545 GB Notification: Performance of SimCode: time 0.01848/0.7585, allocations: 9.398 MB / 0.7102 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.08775/0.8463, allocations: 47.48 MB / 0.7565 GB, free: 0.5117 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches