Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009349/0.0009348, allocations: 94.66 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 194.4 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.18 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 11.98 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 63.56 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3812/0.5326, allocations: 58.68 MB / 0.5284 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03482/0.5675, allocations: 12.35 MB / 0.5405 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01558/0.5831, allocations: 282.8 kB / 0.5407 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.5959, allocations: 3.101 MB / 0.5438 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0287/0.6246, allocations: 9.059 MB / 0.5526 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005101/0.6297, allocations: 0.7824 MB / 0.5534 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08454/0.7143, allocations: 61.9 MB / 0.6138 GB, free: 388 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.7244, allocations: 5.367 MB / 0.6191 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.7284, allocations: 1.572 MB / 0.6206 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.7333, allocations: 2.411 MB / 0.623 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.7346, allocations: 168 kB / 0.6231 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.7381, allocations: 1.073 MB / 0.6242 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003767/0.7419, allocations: 2.127 MB / 0.6262 GB, free: 3.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002279/0.7442, allocations: 0.9907 MB / 0.6272 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.754, allocations: 6.617 MB / 0.6337 GB, free: 11.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.7541, allocations: 0 / 0.6337 GB, free: 11.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.7541, allocations: 0 / 0.6337 GB, free: 11.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000413/0.7545, allocations: 0 / 0.6337 GB, free: 11.94 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01382/0.7683, allocations: 5.014 MB / 0.6386 GB, free: 6.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7684, allocations: 8.031 kB / 0.6386 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.7801, allocations: 2.602 MB / 0.6411 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008999/0.7891, allocations: 3.598 MB / 0.6446 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.7894, allocations: 275.1 kB / 0.6449 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.7908, allocations: 379.8 kB / 0.6452 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/0.8162, allocations: 11.59 MB / 0.6566 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/0.8166, allocations: 55.44 kB / 0.6566 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.8181, allocations: 183.8 kB / 0.6568 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003736/0.8219, allocations: 2.139 MB / 0.6589 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.8422, allocations: 9.594 MB / 0.6683 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3584/1.201, allocations: 45.81 MB / 0.713 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.211, allocations: 3.923 MB / 0.7168 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002991/1.214, allocations: 2.163 MB / 0.7189 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/1.226, allocations: 6.524 MB / 0.7253 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.425e-05/1.226, allocations: 53.97 kB / 0.7254 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.19e-06/1.226, allocations: 0 / 0.7254 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04087/1.267, allocations: 16.44 MB / 0.7414 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/1.267, allocations: 203.4 kB / 0.7416 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00697/1.274, allocations: 5.572 MB / 0.7471 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003106/1.274, allocations: 46.45 kB / 0.7471 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/1.276, allocations: 3.69 MB / 0.7507 GB, free: 141 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/1.276, allocations: 0.676 MB / 0.7514 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/1.277, allocations: 133.9 kB / 0.7515 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002555/1.277, allocations: 0.5945 MB / 0.7521 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/1.28, allocations: 2.292 MB / 0.7543 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/1.284, allocations: 6.551 MB / 0.7607 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/1.289, allocations: 3.775 MB / 0.7644 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.19e-05/1.289, allocations: 48 kB / 0.7644 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01431/1.303, allocations: 9.559 MB / 0.7738 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/1.303, allocations: 72 kB / 0.7738 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.303, allocations: 148 kB / 0.774 GB, free: 116 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/1.306, allocations: 1.238 MB / 0.7752 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/1.31, allocations: 1.581 MB / 0.7767 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/1.317, allocations: 7.729 MB / 0.7843 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/1.323, allocations: 375.2 kB / 0.7846 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/1.324, allocations: 420 kB / 0.785 GB, free: 104.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005046/1.329, allocations: 2.466 MB / 0.7874 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.33, allocations: 458 kB / 0.7879 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/1.336, allocations: 3.425 MB / 0.7912 GB, free: 98.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.336, allocations: 16 kB / 0.7912 GB, free: 98.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.336, allocations: 8 kB / 0.7913 GB, free: 98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.336, allocations: 7.969 kB / 0.7913 GB, free: 98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.349, allocations: 8.189 MB / 0.7993 GB, free: 89.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.349, allocations: 4 kB / 0.7993 GB, free: 89.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.35, allocations: 295.5 kB / 0.7995 GB, free: 89.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/1.352, allocations: 0.985 MB / 0.8005 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/1.352, allocations: 35.97 kB / 0.8005 GB, free: 88.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006644/1.359, allocations: 7.09 MB / 0.8075 GB, free: 81.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.359, allocations: 4 kB / 0.8075 GB, free: 81.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007359/1.366, allocations: 5.851 MB / 0.8132 GB, free: 75.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.368, allocations: 0.5311 MB / 0.8137 GB, free: 74.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005168/1.368, allocations: 27.98 kB / 0.8137 GB, free: 74.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.37, allocations: 92.52 kB / 0.8138 GB, free: 74.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/1.37, allocations: 100.8 kB / 0.8139 GB, free: 74.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.37, allocations: 44.81 kB / 0.814 GB, free: 74.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004733/1.375, allocations: 3.556 MB / 0.8174 GB, free: 70.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/1.375, allocations: 0 / 0.8174 GB, free: 70.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005535/1.38, allocations: 1.151 MB / 0.8185 GB, free: 69.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/1.381, allocations: 176 kB / 0.8187 GB, free: 69.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007085/1.388, allocations: 5.561 MB / 0.8241 GB, free: 63.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.388, allocations: 0 / 0.8241 GB, free: 63.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.39, allocations: 1.616 MB / 0.8257 GB, free: 62.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.393, allocations: 0.5722 MB / 0.8263 GB, free: 61.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.409, allocations: 12.59 MB / 0.8386 GB, free: 49.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003331/1.413, allocations: 3.772 MB / 0.8423 GB, free: 45.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004677/1.417, allocations: 2.124 MB / 0.8443 GB, free: 43.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/1.418, allocations: 287.4 kB / 0.8446 GB, free: 42.87 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/1.418, allocations: 0 / 0.8446 GB, free: 42.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.08509/1.503, allocations: 42.43 MB / 0.886 GB, free: 0.6055 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches