Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 177.7 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4071/0.4071, allocations: 43.58 MB / 315 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005398, allocations: 12 kB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1573, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3517/0.509, allocations: 71.42 MB / 0.5028 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05657/0.5657, allocations: 14.44 MB / 0.5169 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02879/0.5945, allocations: 316.2 kB / 0.5172 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004925/0.5995, allocations: 0.5056 MB / 0.5177 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.616, allocations: 2.233 MB / 0.5199 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.6212, allocations: 0.817 MB / 0.5207 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02464/0.6458, allocations: 8.557 MB / 0.529 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01856/0.6645, allocations: 6.206 MB / 0.5351 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007989/0.6725, allocations: 1.544 MB / 0.5366 GB, free: 476 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.6829, allocations: 2.651 MB / 0.5392 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00208/0.6851, allocations: 184 kB / 0.5394 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006378/0.6915, allocations: 1.307 MB / 0.5406 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005511/0.697, allocations: 2.357 MB / 0.5429 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007778/0.7049, allocations: 2.614 MB / 0.5455 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0197/0.7246, allocations: 8.712 MB / 0.554 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.7247, allocations: 0 / 0.554 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.7247, allocations: 0 / 0.554 GB, free: 14.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007339/0.7255, allocations: 0 / 0.554 GB, free: 14.57 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02339/0.7489, allocations: 5.255 MB / 0.5591 GB, free: 9.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.749, allocations: 12.03 kB / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/0.7631, allocations: 2.696 MB / 0.5618 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.7747, allocations: 3.949 MB / 0.5656 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.7751, allocations: 299.9 kB / 0.5659 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.7776, allocations: 411.5 kB / 0.5663 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02992/0.8075, allocations: 12.63 MB / 0.5786 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/0.8079, allocations: 59.47 kB / 0.5787 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.8095, allocations: 187.8 kB / 0.5789 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004627/0.8142, allocations: 2.413 MB / 0.5812 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/0.8392, allocations: 10.56 MB / 0.5916 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4543/1.293, allocations: 48.83 MB / 0.6392 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/1.305, allocations: 4.804 MB / 0.6439 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/1.308, allocations: 2.432 MB / 0.6463 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.321, allocations: 7.169 MB / 0.6533 GB, free: 106 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/1.321, allocations: 61.06 kB / 0.6534 GB, free: 105.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.642e-06/1.321, allocations: 2.672 kB / 0.6534 GB, free: 105.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.0564/1.377, allocations: 17.98 MB / 0.6709 GB, free: 99.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/1.378, allocations: 203.9 kB / 0.6711 GB, free: 99.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01738/1.395, allocations: 5.833 MB / 0.6768 GB, free: 97.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007882/1.396, allocations: 55.28 kB / 0.6769 GB, free: 96.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004682/1.401, allocations: 3.952 MB / 0.6807 GB, free: 93.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.402, allocations: 0.768 MB / 0.6815 GB, free: 93.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/1.403, allocations: 0.638 MB / 0.6821 GB, free: 93.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/1.404, allocations: 302.5 kB / 0.6824 GB, free: 92.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005423/1.409, allocations: 2.601 MB / 0.6849 GB, free: 91.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007531/1.417, allocations: 7.045 MB / 0.6918 GB, free: 85.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/1.43, allocations: 10.34 MB / 0.7019 GB, free: 76.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002069/1.43, allocations: 43.78 kB / 0.7019 GB, free: 76.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02158/1.452, allocations: 10.4 MB / 0.7121 GB, free: 72.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.452, allocations: 72 kB / 0.7122 GB, free: 72.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002223/1.452, allocations: 156.8 kB / 0.7123 GB, free: 72.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/1.455, allocations: 1.226 MB / 0.7135 GB, free: 71.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005908/1.461, allocations: 1.706 MB / 0.7152 GB, free: 69.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008578/1.47, allocations: 7.778 MB / 0.7228 GB, free: 61.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007678/1.477, allocations: 403.3 kB / 0.7232 GB, free: 61.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/1.479, allocations: 455.2 kB / 0.7236 GB, free: 60.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (904): * Single equations (assignments): 897 * 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%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0066/1.485, allocations: 2.623 MB / 0.7262 GB, free: 58.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/1.487, allocations: 481.7 kB / 0.7266 GB, free: 57.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007607/1.495, allocations: 3.98 MB / 0.7305 GB, free: 53.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.465e-05/1.495, allocations: 28 kB / 0.7305 GB, free: 53.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.495, allocations: 4 kB / 0.7305 GB, free: 53.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.495, allocations: 7.969 kB / 0.7305 GB, free: 53.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/1.513, allocations: 9.3 MB / 0.7396 GB, free: 44.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.513, allocations: 7.938 kB / 0.7396 GB, free: 44.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.515, allocations: 355.4 kB / 0.74 GB, free: 43.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/1.517, allocations: 0.9811 MB / 0.7409 GB, free: 42.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.517, allocations: 43.12 kB / 0.741 GB, free: 42.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/1.524, allocations: 7.098 MB / 0.7479 GB, free: 35.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.524, allocations: 4 kB / 0.7479 GB, free: 35.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009344/1.533, allocations: 6.748 MB / 0.7545 GB, free: 28.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.536, allocations: 0.8344 MB / 0.7553 GB, free: 27.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/1.536, allocations: 32 kB / 0.7553 GB, free: 27.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.538, allocations: 119.2 kB / 0.7555 GB, free: 27.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/1.538, allocations: 123.7 kB / 0.7556 GB, free: 27.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.538, allocations: 52 kB / 0.7556 GB, free: 27.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004903/1.543, allocations: 3.733 MB / 0.7593 GB, free: 23.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.543, allocations: 0 / 0.7593 GB, free: 23.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006655/1.55, allocations: 1.264 MB / 0.7605 GB, free: 22.58 MB / 494.1 MB 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 (154): * Single equations (assignments): 149 * 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.0004389/1.55, allocations: 174.8 kB / 0.7607 GB, free: 22.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008534/1.559, allocations: 6.219 MB / 0.7667 GB, free: 16.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.559, allocations: 1.812 kB / 0.7667 GB, free: 16.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.561, allocations: 1.884 MB / 0.7686 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/1.567, allocations: 0.5827 MB / 0.7692 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.588, allocations: 14.4 MB / 0.7832 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005464/1.594, allocations: 4.017 MB / 0.7871 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006721/1.601, allocations: 2.287 MB / 0.7894 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.602, allocations: 315.4 kB / 0.7897 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of SimCode: time 2.114e-06/1.602, allocations: 0 / 0.7897 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Templates: time 0.3932/1.995, allocations: 46.61 MB / 0.8352 GB, free: 167.9 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches