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.001146/0.001146, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001257, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 75.88 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2729, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01122/0.2841, allocations: 11.13 MB / 0.5425 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.292, allocations: 4.093 MB / 0.5465 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.2936, allocations: 66.16 kB / 0.5466 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004879/0.2985, allocations: 2.805 MB / 0.5493 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.3027, allocations: 1.793 MB / 0.5511 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3043, allocations: 0.6941 MB / 0.5517 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005013/0.3093, allocations: 3.684 MB / 0.5553 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004133/0.3135, allocations: 3.796 MB / 0.559 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.3157, allocations: 1.491 MB / 0.5605 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.3183, allocations: 1.994 MB / 0.5624 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007079/0.319, allocations: 328 kB / 0.5628 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.3211, allocations: 1.182 MB / 0.5639 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.3229, allocations: 1.878 MB / 0.5657 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.3252, allocations: 2.152 MB / 0.5679 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007073/0.3323, allocations: 6.826 MB / 0.5745 GB, free: 5.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3323, allocations: 0 / 0.5745 GB, free: 5.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3323, allocations: 0 / 0.5745 GB, free: 5.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001397/0.3325, allocations: 0 / 0.5745 GB, free: 5.68 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.007887/0.3404, allocations: 4.561 MB / 0.579 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3404, allocations: 16.03 kB / 0.579 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006168/0.3466, allocations: 1.929 MB / 0.5809 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.351, allocations: 2.154 MB / 0.583 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3512, allocations: 238.6 kB / 0.5832 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.3522, allocations: 415.6 kB / 0.5836 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.3675, allocations: 9.74 MB / 0.5931 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.3676, allocations: 39.69 kB / 0.5931 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000463/0.3681, allocations: 159.8 kB / 0.5933 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/0.3704, allocations: 1.763 MB / 0.595 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.3848, allocations: 8.07 MB / 0.6029 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.4274, allocations: 38.21 MB / 0.6402 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008772/0.4362, allocations: 3.708 MB / 0.6438 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.4383, allocations: 1.619 MB / 0.6454 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.4489, allocations: 7.923 MB / 0.6532 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.449, allocations: 51.5 kB / 0.6532 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.438e-06/0.449, allocations: 0 / 0.6532 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.02798/0.477, allocations: 12.35 MB / 0.6653 GB, free: 5.969 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001301/0.4783, allocations: 1.708 MB / 0.6669 GB, free: 4.082 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.4841, allocations: 3.788 MB / 0.6706 GB, free: 312 kB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.4844, allocations: 41.7 kB / 0.6707 GB, free: 264 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/0.4866, allocations: 3.016 MB / 0.6736 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008312/0.4874, allocations: 0.598 MB / 0.6742 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/0.4896, allocations: 1.17 MB / 0.6753 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.4897, allocations: 301.1 kB / 0.6756 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.4926, allocations: 2.041 MB / 0.6776 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/0.4977, allocations: 5.662 MB / 0.6831 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008684/0.5064, allocations: 8.257 MB / 0.6912 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.971e-05/0.5065, allocations: 40 kB / 0.6912 GB, free: 7.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01978/0.5263, allocations: 9.22 MB / 0.7003 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.5264, allocations: 60 kB / 0.7003 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009929/0.5364, allocations: 3.663 MB / 0.7039 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009336/0.5458, allocations: 2.316 MB / 0.7061 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/0.5497, allocations: 1.326 MB / 0.7074 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00943/0.5592, allocations: 7.502 MB / 0.7148 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/0.5631, allocations: 403.3 kB / 0.7152 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008152/0.564, allocations: 356 kB / 0.7155 GB, free: 14.32 MB / 0.5763 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 (713): * Single equations (assignments): 704 * 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.00334/0.5673, allocations: 1.998 MB / 0.7174 GB, free: 12.31 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.568, allocations: 323.8 kB / 0.7178 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009953/0.569, allocations: 444.2 kB / 0.7182 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004588/0.5736, allocations: 2.496 MB / 0.7206 GB, free: 9.035 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5737, allocations: 4.047 kB / 0.7206 GB, free: 9.031 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5737, allocations: 7.969 kB / 0.7206 GB, free: 9.023 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.5875, allocations: 8.455 MB / 0.7289 GB, free: 476 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5875, allocations: 4.094 kB / 0.7289 GB, free: 472 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.5886, allocations: 243.6 kB / 0.7291 GB, free: 228 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2221/0.8107, allocations: 1.032 MB / 0.7301 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/0.811, allocations: 43.97 kB / 0.7302 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.8159, allocations: 5.335 MB / 0.7354 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006589/0.8165, allocations: 1.573 MB / 0.7369 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007049/0.8236, allocations: 5.202 MB / 0.742 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/0.8244, allocations: 378.4 kB / 0.7424 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.8248, allocations: 29.5 kB / 0.7424 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.8261, allocations: 136.1 kB / 0.7425 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.8263, allocations: 95.42 kB / 0.7426 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.8265, allocations: 43.47 kB / 0.7426 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002929/0.8294, allocations: 2.353 MB / 0.7449 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8294, allocations: 1.406 kB / 0.7449 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00394/0.8334, allocations: 1.028 MB / 0.7459 GB, free: 169.4 MB / 0.5763 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 (114): * Single equations (assignments): 107 * 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.0003646/0.8337, allocations: 160.8 kB / 0.7461 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007332/0.8411, allocations: 5.561 MB / 0.7515 GB, free: 167.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8411, allocations: 0 / 0.7515 GB, free: 167.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.8445, allocations: 2.162 MB / 0.7536 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.8469, allocations: 439 kB / 0.7541 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.8594, allocations: 9.53 MB / 0.7634 GB, free: 159 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/0.8618, allocations: 3.116 MB / 0.7664 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008019/0.8626, allocations: 275.4 kB / 0.7667 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of SimCode: time 6.81e-07/0.8626, allocations: 0 / 0.7667 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.09689/0.9595, allocations: 127.2 MB / 0.8909 GB, free: 28.26 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