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.001149/0.00115, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4258, allocations: 62.45 MB / 0.5311 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01252/0.4384, allocations: 11.12 MB / 0.5419 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.4492, allocations: 4.093 MB / 0.5459 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.4518, allocations: 65.28 kB / 0.546 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005405/0.4573, allocations: 2.801 MB / 0.5487 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006121/0.4634, allocations: 1.754 MB / 0.5504 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.4667, allocations: 0.6901 MB / 0.5511 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009721/0.4764, allocations: 3.681 MB / 0.5547 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005733/0.4822, allocations: 3.8 MB / 0.5584 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.4854, allocations: 1.503 MB / 0.5599 GB, free: 4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.4897, allocations: 1.982 MB / 0.5618 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.4908, allocations: 332 kB / 0.5621 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.4937, allocations: 1.17 MB / 0.5633 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.496, allocations: 1.855 MB / 0.5651 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.4994, allocations: 2.148 MB / 0.5672 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.5095, allocations: 6.845 MB / 0.5739 GB, free: 5.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.5096, allocations: 4 kB / 0.5739 GB, free: 5.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5096, allocations: 0 / 0.5739 GB, free: 5.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002753/0.5099, allocations: 4 kB / 0.5739 GB, free: 5.617 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.01231/0.5222, allocations: 4.678 MB / 0.5784 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5223, allocations: 8.031 kB / 0.5784 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007205/0.5295, allocations: 1.96 MB / 0.5804 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/0.5351, allocations: 2.166 MB / 0.5825 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.5354, allocations: 234.6 kB / 0.5827 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.5365, allocations: 411.7 kB / 0.5831 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.5554, allocations: 9.744 MB / 0.5926 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/0.5556, allocations: 43.67 kB / 0.5926 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005452/0.5561, allocations: 155.8 kB / 0.5928 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/0.5588, allocations: 1.759 MB / 0.5945 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.5769, allocations: 8.078 MB / 0.6024 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05702/0.6339, allocations: 38.27 MB / 0.6398 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.6444, allocations: 3.719 MB / 0.6434 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002668/0.6471, allocations: 1.626 MB / 0.645 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/0.6605, allocations: 7.933 MB / 0.6527 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.6606, allocations: 59.48 kB / 0.6528 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 5.32e-06/0.6607, allocations: 0 / 0.6528 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03466/0.6953, allocations: 12.56 MB / 0.6651 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001578/0.6969, allocations: 1.704 MB / 0.6667 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007832/0.7048, allocations: 3.801 MB / 0.6704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005179/0.7054, allocations: 45.7 kB / 0.6705 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002784/0.7082, allocations: 3.135 MB / 0.6735 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.7093, allocations: 0.6281 MB / 0.6742 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003128/0.7124, allocations: 1.175 MB / 0.6753 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7126, allocations: 308.9 kB / 0.6756 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003817/0.7164, allocations: 2.037 MB / 0.6776 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/0.7232, allocations: 5.658 MB / 0.6831 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.7337, allocations: 8.257 MB / 0.6912 GB, free: 6.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/0.7339, allocations: 40 kB / 0.6912 GB, free: 6.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02389/0.7578, allocations: 9.243 MB / 0.7002 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.758, allocations: 60 kB / 0.7003 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01112/0.7691, allocations: 3.659 MB / 0.7039 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.7796, allocations: 2.316 MB / 0.7061 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/0.7846, allocations: 1.318 MB / 0.7074 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.7957, allocations: 7.506 MB / 0.7148 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/0.801, allocations: 403.4 kB / 0.7151 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/0.8022, allocations: 364 kB / 0.7155 GB, free: 13.66 MB / 0.5762 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.0042/0.8064, allocations: 1.998 MB / 0.7174 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008677/0.8073, allocations: 345.7 kB / 0.7178 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.8086, allocations: 436.2 kB / 0.7182 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005248/0.8139, allocations: 2.5 MB / 0.7206 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.8139, allocations: 4 kB / 0.7206 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.8139, allocations: 11.91 kB / 0.7206 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3267/1.141, allocations: 8.446 MB / 0.7289 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/1.141, allocations: 2.594 kB / 0.7289 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.142, allocations: 252 kB / 0.7291 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/1.146, allocations: 1.038 MB / 0.7301 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003505/1.146, allocations: 35.81 kB / 0.7302 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/1.152, allocations: 5.343 MB / 0.7354 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008089/1.153, allocations: 1.56 MB / 0.7369 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008195/1.161, allocations: 5.229 MB / 0.742 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009483/1.162, allocations: 399 kB / 0.7424 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/1.162, allocations: 34.48 kB / 0.7424 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.164, allocations: 134.3 kB / 0.7426 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/1.164, allocations: 96.58 kB / 0.7427 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.164, allocations: 49.16 kB / 0.7427 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003324/1.168, allocations: 2.357 MB / 0.745 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/1.168, allocations: 0 / 0.745 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004341/1.172, allocations: 1.016 MB / 0.746 GB, free: 168.4 MB / 0.5762 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.000371/1.172, allocations: 168.7 kB / 0.7462 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008238/1.181, allocations: 5.558 MB / 0.7516 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.181, allocations: 0 / 0.7516 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003589/1.184, allocations: 2.166 MB / 0.7537 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.187, allocations: 427.8 kB / 0.7541 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.203, allocations: 9.225 MB / 0.7631 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/1.206, allocations: 3.121 MB / 0.7662 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003375/1.21, allocations: 1.802 MB / 0.7679 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/1.21, allocations: 223.4 kB / 0.7681 GB, free: 153 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.21, allocations: 0 / 0.7681 GB, free: 153 MB / 0.5762 GB Notification: Performance of Templates: time 0.05399/1.264, allocations: 34.76 MB / 0.8021 GB, free: 118.4 MB / 0.5762 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