Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002014/0.002014, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002718/0.002718, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.498/2.498, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4166/0.4166, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4744, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.02064/0.4951, allocations: 11.13 MB / 0.5425 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.5085, allocations: 4.093 MB / 0.5465 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.5115, allocations: 66.34 kB / 0.5466 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008257/0.5199, allocations: 2.799 MB / 0.5493 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007789/0.5277, allocations: 1.804 MB / 0.5511 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.5306, allocations: 0.6862 MB / 0.5517 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007727/0.5384, allocations: 3.688 MB / 0.5553 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007392/0.5458, allocations: 3.8 MB / 0.5591 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.5495, allocations: 1.499 MB / 0.5605 GB, free: 4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004316/0.5538, allocations: 1.982 MB / 0.5625 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.5551, allocations: 336 kB / 0.5628 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.5588, allocations: 1.174 MB / 0.5639 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.5618, allocations: 1.882 MB / 0.5658 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004589/0.5664, allocations: 2.148 MB / 0.5679 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.579, allocations: 6.849 MB / 0.5745 GB, free: 5.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5791, allocations: 0 / 0.5745 GB, free: 5.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.98e-06/0.5791, allocations: 0 / 0.5745 GB, free: 5.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002558/0.5794, allocations: 3.938 kB / 0.5746 GB, free: 5.582 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: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.0166/0.596, allocations: 4.682 MB / 0.5791 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.5961, allocations: 8.031 kB / 0.5791 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.608, allocations: 1.96 MB / 0.581 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007588/0.6156, allocations: 2.159 MB / 0.5832 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.6161, allocations: 246.5 kB / 0.5834 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/0.6182, allocations: 411.6 kB / 0.5838 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/0.648, allocations: 9.74 MB / 0.5933 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/0.6483, allocations: 43.67 kB / 0.5933 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/0.6497, allocations: 155.8 kB / 0.5935 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004491/0.6542, allocations: 1.759 MB / 0.5952 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/0.6809, allocations: 8.078 MB / 0.6031 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07693/0.7579, allocations: 38.27 MB / 0.6405 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/0.7737, allocations: 3.721 MB / 0.6441 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/0.7774, allocations: 1.619 MB / 0.6457 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/0.7959, allocations: 7.937 MB / 0.6534 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.654e-05/0.7961, allocations: 51.56 kB / 0.6535 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 1.161e-05/0.7961, allocations: 4 kB / 0.6535 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142): time 0.04913/0.8452, allocations: 12.16 MB / 0.6654 GB, free: 5.852 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.8454, allocations: 141.5 kB / 0.6655 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009521/0.8549, allocations: 3.808 MB / 0.6692 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003855/0.8554, allocations: 49.69 kB / 0.6693 GB, free: 1.832 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003468/0.8589, allocations: 3.115 MB / 0.6723 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.8601, allocations: 0.6088 MB / 0.6729 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003319/0.8634, allocations: 1.167 MB / 0.674 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8636, allocations: 301.1 kB / 0.6743 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005141/0.8687, allocations: 1.936 MB / 0.6762 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009102/0.8778, allocations: 5.548 MB / 0.6816 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/0.8935, allocations: 8.1 MB / 0.6895 GB, free: 9.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001689/0.8938, allocations: 40 kB / 0.6896 GB, free: 9.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.0343/0.9281, allocations: 9.015 MB / 0.6984 GB, free: 328 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.9283, allocations: 60 kB / 0.6984 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01757/0.9459, allocations: 3.44 MB / 0.7018 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/0.963, allocations: 2.308 MB / 0.704 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007373/0.9705, allocations: 1.318 MB / 0.7053 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/0.9879, allocations: 7.515 MB / 0.7127 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007466/0.9955, allocations: 343.6 kB / 0.713 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/0.9967, allocations: 352.3 kB / 0.7133 GB, free: 0.6758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.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 (708): * Single equations (assignments): 701 * 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.005306/1.002, allocations: 1.993 MB / 0.7153 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.003, allocations: 341.7 kB / 0.7156 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.005, allocations: 436.1 kB / 0.716 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.005, allocations: 8.391 kB / 0.716 GB, free: 13.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.005, allocations: 7.938 kB / 0.716 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.006, allocations: 386.7 kB / 0.7164 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009293/1.007, allocations: 35.98 kB / 0.7164 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.009, allocations: 107.8 kB / 0.7165 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/1.01, allocations: 92.75 kB / 0.7166 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01042/1.02, allocations: 3.346 MB / 0.7199 GB, free: 9.898 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008568/1.029, allocations: 4.099 MB / 0.7239 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002339/1.031, allocations: 1.077 MB / 0.725 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006516/1.038, allocations: 2.356 MB / 0.7273 GB, free: 2.359 MB / 0.5763 GB Notification: Performance of Backend: time 8.32e-07/1.038, allocations: 0 / 0.7273 GB, free: 2.359 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3148/1.353, allocations: 4.622 MB / 0.7318 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of SimCode: time 0.01544/1.368, allocations: 9.042 MB / 0.7406 GB, free: 177.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.06932/1.437, allocations: 44.01 MB / 0.7836 GB, free: 140.6 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches