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.001123/0.001123, allocations: 92.52 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.001714/0.001714, allocations: 202.4 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.445/1.445, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2665/0.2665, allocations: 46.19 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004206, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 63.55 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3344/0.4794, allocations: 63.11 MB / 0.5334 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0364/0.5158, allocations: 12.93 MB / 0.546 GB, free: 500 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01766/0.5336, allocations: 286.3 kB / 0.5463 GB, free: 452 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.536, allocations: 497.3 kB / 0.5468 GB, free: 256 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007314/0.5433, allocations: 2.072 MB / 0.5488 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.5457, allocations: 0.8003 MB / 0.5496 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.5579, allocations: 8.665 MB / 0.558 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009702/0.5676, allocations: 6.061 MB / 0.564 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.5708, allocations: 1.443 MB / 0.5654 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.5748, allocations: 2.437 MB / 0.5677 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007181/0.5756, allocations: 171.9 kB / 0.5679 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.5783, allocations: 1.287 MB / 0.5692 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.5807, allocations: 2.158 MB / 0.5713 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.5837, allocations: 2.396 MB / 0.5736 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.5939, allocations: 8.023 MB / 0.5814 GB, free: 1.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.594, allocations: 0 / 0.5814 GB, free: 1.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.594, allocations: 0 / 0.5814 GB, free: 1.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003105/0.5943, allocations: 4 kB / 0.5814 GB, free: 1.879 MB / 414.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.01304/0.6074, allocations: 4.944 MB / 0.5863 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.6074, allocations: 8.031 kB / 0.5863 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.6203, allocations: 2.599 MB / 0.5888 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009489/0.6298, allocations: 3.664 MB / 0.5924 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.6301, allocations: 275.5 kB / 0.5927 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/0.6314, allocations: 387.6 kB / 0.593 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.6549, allocations: 11.62 MB / 0.6044 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.6551, allocations: 55.47 kB / 0.6044 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/0.6556, allocations: 183.8 kB / 0.6046 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/0.6594, allocations: 2.143 MB / 0.6067 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/0.68, allocations: 9.633 MB / 0.6161 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/0.7411, allocations: 45.86 MB / 0.6609 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.7519, allocations: 3.925 MB / 0.6647 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.7549, allocations: 2.162 MB / 0.6668 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.7658, allocations: 6.522 MB / 0.6732 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.7658, allocations: 55.5 kB / 0.6733 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=154): time 6.893e-06/0.7658, allocations: 0 / 0.6733 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.04681/0.8127, allocations: 16.47 MB / 0.6893 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.8129, allocations: 196.9 kB / 0.6895 GB, free: 480 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008425/0.8213, allocations: 5.603 MB / 0.695 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.8216, allocations: 57.69 kB / 0.6951 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/0.8244, allocations: 3.682 MB / 0.6986 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007982/0.8253, allocations: 0.6753 MB / 0.6993 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007192/0.826, allocations: 0.6029 MB / 0.6999 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.8261, allocations: 301.1 kB / 0.7002 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/0.8294, allocations: 2.321 MB / 0.7024 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3144/1.144, allocations: 6.568 MB / 0.7089 GB, free: 175 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.156, allocations: 9.556 MB / 0.7182 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/1.156, allocations: 44 kB / 0.7182 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.0217/1.178, allocations: 9.612 MB / 0.7276 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/1.178, allocations: 73.19 kB / 0.7277 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004225/1.179, allocations: 157.3 kB / 0.7278 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003946/1.183, allocations: 1.217 MB / 0.729 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/1.188, allocations: 1.572 MB / 0.7306 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008358/1.196, allocations: 7.761 MB / 0.7381 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00635/1.203, allocations: 373.2 kB / 0.7385 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.204, allocations: 421.5 kB / 0.7389 GB, free: 159.6 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005347/1.21, allocations: 2.466 MB / 0.7413 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.211, allocations: 447.8 kB / 0.7417 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/1.217, allocations: 3.438 MB / 0.7451 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/1.217, allocations: 18.81 kB / 0.7451 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/1.217, allocations: 3.562 kB / 0.7451 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.217, allocations: 11.27 kB / 0.7451 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/1.231, allocations: 8.192 MB / 0.7531 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.231, allocations: 4 kB / 0.7531 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.232, allocations: 295.8 kB / 0.7534 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/1.235, allocations: 0.9875 MB / 0.7544 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.235, allocations: 34.34 kB / 0.7544 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006788/1.241, allocations: 7.098 MB / 0.7613 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.242, allocations: 4 kB / 0.7613 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00754/1.249, allocations: 5.865 MB / 0.7671 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.25, allocations: 0.5302 MB / 0.7676 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/1.251, allocations: 32.64 kB / 0.7676 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.252, allocations: 92.66 kB / 0.7677 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/1.253, allocations: 104.3 kB / 0.7678 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.253, allocations: 48.84 kB / 0.7679 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004647/1.257, allocations: 3.58 MB / 0.7714 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.257, allocations: 0 / 0.7714 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006179/1.264, allocations: 1.157 MB / 0.7725 GB, free: 132 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000456/1.264, allocations: 166.1 kB / 0.7726 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007888/1.272, allocations: 5.561 MB / 0.7781 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.272, allocations: 0.625 kB / 0.7781 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/1.274, allocations: 1.611 MB / 0.7796 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/1.279, allocations: 0.575 MB / 0.7802 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.299, allocations: 13.15 MB / 0.7931 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.303, allocations: 3.764 MB / 0.7967 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005052/1.308, allocations: 2.124 MB / 0.7988 GB, free: 105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009198/1.309, allocations: 291.4 kB / 0.7991 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of SimCode: time 4.318e-06/1.309, allocations: 0 / 0.7991 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.07705/1.386, allocations: 43.32 MB / 0.8414 GB, free: 61.54 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