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.0008499/0.0008505, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009215/0.0009215, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.7 MB / 246.8 MB, free: 11.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004811, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1649, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2957/0.4607, allocations: 44.57 MB / 0.5153 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.4851, allocations: 9.773 MB / 0.5248 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01094/0.496, allocations: 195.5 kB / 0.525 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.4979, allocations: 416.8 kB / 0.5254 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005917/0.5039, allocations: 1.655 MB / 0.527 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.506, allocations: 0.6329 MB / 0.5276 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008492/0.5145, allocations: 5.398 MB / 0.5329 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009888/0.5244, allocations: 5.248 MB / 0.538 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.5281, allocations: 1.086 MB / 0.5391 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.5315, allocations: 1.812 MB / 0.5409 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.5327, allocations: 133.4 kB / 0.541 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.536, allocations: 1.044 MB / 0.542 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003491/0.5395, allocations: 1.64 MB / 0.5436 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00522/0.5447, allocations: 1.905 MB / 0.5455 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.5554, allocations: 6.34 MB / 0.5517 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.5555, allocations: 3.984 kB / 0.5517 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5555, allocations: 4 kB / 0.5517 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000277/0.5558, allocations: 0 / 0.5517 GB, free: 10.21 MB / 398.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.00928/0.5651, allocations: 3.724 MB / 0.5553 GB, free: 6.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5651, allocations: 8.875 kB / 0.5553 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007244/0.5724, allocations: 1.98 MB / 0.5573 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.5769, allocations: 2.107 MB / 0.5593 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5771, allocations: 242 kB / 0.5595 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009225/0.578, allocations: 409.9 kB / 0.5599 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/0.5958, allocations: 9.766 MB / 0.5695 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.596, allocations: 47.59 kB / 0.5695 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.5964, allocations: 147.6 kB / 0.5697 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002672/0.5991, allocations: 1.771 MB / 0.5714 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.616, allocations: 8.093 MB / 0.5793 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/0.6655, allocations: 38.39 MB / 0.6168 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009598/0.6751, allocations: 3.724 MB / 0.6204 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.6775, allocations: 1.625 MB / 0.622 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.6887, allocations: 7.919 MB / 0.6297 GB, free: 8.191 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.6888, allocations: 51.5 kB / 0.6298 GB, free: 8.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.348e-06/0.6888, allocations: 0 / 0.6298 GB, free: 8.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03004/0.7188, allocations: 12.37 MB / 0.6419 GB, free: 11.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001425/0.7203, allocations: 1.613 MB / 0.6434 GB, free: 9.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/0.7258, allocations: 3.799 MB / 0.6471 GB, free: 6.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/0.7263, allocations: 51.83 kB / 0.6472 GB, free: 5.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.7284, allocations: 3.001 MB / 0.6501 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008629/0.7293, allocations: 0.6041 MB / 0.6507 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006259/0.7299, allocations: 498.7 kB / 0.6512 GB, free: 1.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.73, allocations: 301.1 kB / 0.6515 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.7333, allocations: 2.045 MB / 0.6535 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.7393, allocations: 5.662 MB / 0.659 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.7494, allocations: 8.273 MB / 0.6671 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.7496, allocations: 36 kB / 0.6671 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02383/0.7734, allocations: 9.241 MB / 0.6761 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.7735, allocations: 60 kB / 0.6762 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/0.7854, allocations: 3.666 MB / 0.6798 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/0.7967, allocations: 2.32 MB / 0.682 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/0.8014, allocations: 1.326 MB / 0.6833 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.8115, allocations: 6.895 MB / 0.6901 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/0.8163, allocations: 411.4 kB / 0.6905 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/0.817, allocations: 359 kB / 0.6908 GB, free: 5.355 MB / 0.5294 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.003527/0.8205, allocations: 2.002 MB / 0.6928 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.8211, allocations: 327.8 kB / 0.6931 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.8219, allocations: 428.2 kB / 0.6935 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004965/0.8269, allocations: 2.515 MB / 0.6959 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.8269, allocations: 4 kB / 0.6959 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.8269, allocations: 7.969 kB / 0.696 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.8418, allocations: 8.457 MB / 0.7042 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.8419, allocations: 4 kB / 0.7042 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.843, allocations: 247.6 kB / 0.7045 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/0.8462, allocations: 1.037 MB / 0.7055 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.8463, allocations: 44.38 kB / 0.7055 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/0.8522, allocations: 5.019 MB / 0.7104 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2651/1.117, allocations: 1.471 MB / 0.7118 GB, free: 191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.128, allocations: 5.221 MB / 0.7169 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.129, allocations: 387.8 kB / 0.7173 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.13, allocations: 36.41 kB / 0.7173 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.131, allocations: 140.5 kB / 0.7175 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/1.132, allocations: 94.67 kB / 0.7176 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.132, allocations: 47.7 kB / 0.7176 GB, free: 190.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004133/1.136, allocations: 2.351 MB / 0.7199 GB, free: 189.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.136, allocations: 0 / 0.7199 GB, free: 189.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005204/1.141, allocations: 1.02 MB / 0.7209 GB, free: 189.6 MB / 0.545 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.0005001/1.142, allocations: 166.2 kB / 0.7211 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.152, allocations: 5.534 MB / 0.7265 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.152, allocations: 0 / 0.7265 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004352/1.157, allocations: 2.151 MB / 0.7286 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.16, allocations: 413.5 kB / 0.729 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.175, allocations: 11.22 MB / 0.7399 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/1.178, allocations: 3.13 MB / 0.743 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004122/1.182, allocations: 1.795 MB / 0.7447 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/1.183, allocations: 217.2 kB / 0.7449 GB, free: 179 MB / 0.545 GB Notification: Performance of SimCode: time 9.51e-07/1.183, allocations: 0 / 0.7449 GB, free: 179 MB / 0.545 GB Notification: Performance of Templates: time 0.05714/1.24, allocations: 36.21 MB / 0.7803 GB, free: 146.6 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches