Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001139/0.001139, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001198/0.001198, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4175, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01253/0.4301, allocations: 11.25 MB / 0.5305 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009857/0.4399, allocations: 4.099 MB / 0.5345 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.4423, allocations: 65.97 kB / 0.5346 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.4482, allocations: 2.826 MB / 0.5374 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005793/0.4541, allocations: 1.84 MB / 0.5392 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.456, allocations: 0.6992 MB / 0.5399 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006622/0.4626, allocations: 3.682 MB / 0.5434 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007465/0.4701, allocations: 3.83 MB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.4736, allocations: 1.522 MB / 0.5487 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003916/0.4775, allocations: 2.009 MB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.479, allocations: 336 kB / 0.551 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.4826, allocations: 1.201 MB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.4857, allocations: 1.921 MB / 0.554 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00503/0.4908, allocations: 2.198 MB / 0.5562 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.501, allocations: 6.982 MB / 0.563 GB, free: 15.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.501, allocations: 4 kB / 0.563 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.501, allocations: 0 / 0.563 GB, free: 15.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000264/0.5013, allocations: 3.938 kB / 0.563 GB, free: 15.44 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01248/0.5138, allocations: 4.643 MB / 0.5675 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5138, allocations: 8.031 kB / 0.5675 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00757/0.5214, allocations: 1.898 MB / 0.5694 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.5271, allocations: 2.216 MB / 0.5715 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.5275, allocations: 242.6 kB / 0.5718 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/0.5295, allocations: 411.6 kB / 0.5722 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.5511, allocations: 9.903 MB / 0.5818 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.5514, allocations: 47.56 kB / 0.5819 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/0.5525, allocations: 155.8 kB / 0.582 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003021/0.5556, allocations: 1.829 MB / 0.5838 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.5733, allocations: 8.2 MB / 0.5918 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05339/0.6267, allocations: 38.62 MB / 0.6295 GB, free: 9.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009763/0.6365, allocations: 3.677 MB / 0.6331 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.6387, allocations: 1.623 MB / 0.6347 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/0.6513, allocations: 7.836 MB / 0.6424 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.6514, allocations: 51.56 kB / 0.6424 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 6.331e-06/0.6514, allocations: 3.984 kB / 0.6424 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142): time 0.03299/0.6844, allocations: 11.92 MB / 0.6541 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.6845, allocations: 141.5 kB / 0.6542 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007385/0.6919, allocations: 3.837 MB / 0.6579 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.6923, allocations: 57.69 kB / 0.658 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002794/0.6951, allocations: 3.043 MB / 0.661 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009915/0.6961, allocations: 0.5866 MB / 0.6615 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/0.6987, allocations: 1.158 MB / 0.6627 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6988, allocations: 305.1 kB / 0.663 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.702, allocations: 1.928 MB / 0.6648 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006311/0.7083, allocations: 5.57 MB / 0.6703 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009862/0.7182, allocations: 8.107 MB / 0.6782 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.7184, allocations: 36 kB / 0.6782 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=745) (initialization): time 0.0212/0.7396, allocations: 8.94 MB / 0.687 GB, free: 9.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.7397, allocations: 60 kB / 0.687 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01066/0.7504, allocations: 3.359 MB / 0.6903 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/0.7614, allocations: 2.219 MB / 0.6925 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/0.7664, allocations: 1.314 MB / 0.6938 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.7778, allocations: 7.475 MB / 0.7011 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/0.7828, allocations: 347.3 kB / 0.7014 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.7841, allocations: 352.1 kB / 0.7017 GB, free: 10.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,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 (711): * Single equations (assignments): 704 * 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.00448/0.7886, allocations: 2.025 MB / 0.7037 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008272/0.7894, allocations: 327.8 kB / 0.704 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/0.795, allocations: 2.64 MB / 0.7066 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.7951, allocations: 3.984 kB / 0.7066 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7951, allocations: 4 kB / 0.7066 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009637/0.7961, allocations: 372.8 kB / 0.707 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007498/0.7968, allocations: 35.98 kB / 0.707 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.7985, allocations: 99.84 kB / 0.7071 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.7987, allocations: 76.88 kB / 0.7072 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006309/0.805, allocations: 3.331 MB / 0.7104 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005032/0.8101, allocations: 4.063 MB / 0.7144 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001302/0.8114, allocations: 1.07 MB / 0.7154 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004577/0.816, allocations: 2.381 MB / 0.7177 GB, free: 10 MB / 0.5762 GB Notification: Performance of Backend: time 3.71e-07/0.816, allocations: 0 / 0.7177 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01053/0.8266, allocations: 4.631 MB / 0.7223 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of SimCode: time 0.2965/1.123, allocations: 9.045 MB / 0.7311 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07483/1.198, allocations: 44.42 MB / 0.7745 GB, free: 155.5 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches