Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 174.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007146/0.0007152, allocations: 86.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2979/0.2979, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.2687/0.3735, allocations: 113.4 MB / 0.59 GB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05015/0.4237, allocations: 22.46 MB / 0.612 GB, free: 13.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02291/0.4467, allocations: 0.5261 MB / 0.6125 GB, free: 13.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01851/0.4652, allocations: 6.011 MB / 0.6184 GB, free: 7.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04401/0.5092, allocations: 17.37 MB / 0.6353 GB, free: 6.062 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008235/0.5175, allocations: 1.295 MB / 0.6366 GB, free: 4.766 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.3194/0.8369, allocations: 67.5 MB / 0.7025 GB, free: 36.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.85, allocations: 10.68 MB / 0.7129 GB, free: 35.3 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.8549, allocations: 2.603 MB / 0.7155 GB, free: 35.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/0.8611, allocations: 4.189 MB / 0.7196 GB, free: 35.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.863, allocations: 296.8 kB / 0.7198 GB, free: 35.13 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.8671, allocations: 1.364 MB / 0.7212 GB, free: 34.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004287/0.8715, allocations: 3.626 MB / 0.7247 GB, free: 32.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005779/0.8772, allocations: 3.791 MB / 0.7284 GB, free: 30.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009984/0.8873, allocations: 11.19 MB / 0.7393 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8873, allocations: 2.312 kB / 0.7393 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8873, allocations: 0 / 0.7393 GB, free: 21.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004661/0.8878, allocations: 0 / 0.7393 GB, free: 21.05 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.01564/0.9034, allocations: 7.986 MB / 0.7471 GB, free: 13.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9035, allocations: 8.031 kB / 0.7472 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.9197, allocations: 3.742 MB / 0.7508 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.9323, allocations: 6.467 MB / 0.7571 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/0.9327, allocations: 487.8 kB / 0.7576 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/0.9349, allocations: 0.6404 MB / 0.7582 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03167/0.9666, allocations: 19.12 MB / 0.7769 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003043/0.9669, allocations: 94.98 kB / 0.777 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009617/0.9679, allocations: 296.1 kB / 0.7773 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005157/0.9731, allocations: 3.417 MB / 0.7806 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/1.004, allocations: 16.13 MB / 0.7963 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08106/1.086, allocations: 70.63 MB / 0.8653 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/1.105, allocations: 8.484 MB / 0.8736 GB, free: 5.828 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006166/1.111, allocations: 4.522 MB / 0.878 GB, free: 1.293 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008166/1.112, allocations: 0.6665 MB / 0.8787 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.289e-05/1.112, allocations: 67.41 kB / 0.8787 GB, free: 476 kB / 0.573 GB Notification: Performance of pre-optimization done (n=307): time 7.915e-06/1.112, allocations: 0 / 0.8787 GB, free: 476 kB / 0.573 GB Notification: Performance of matching and sorting (n=331): time 0.4375/1.55, allocations: 34.96 MB / 0.9129 GB, free: 228.2 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/1.55, allocations: 295.7 kB / 0.9132 GB, free: 227.8 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009317/1.559, allocations: 7.595 MB / 0.9206 GB, free: 225.2 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006553/1.56, allocations: 77.92 kB / 0.9207 GB, free: 225.1 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002992/1.563, allocations: 5.495 MB / 0.926 GB, free: 221 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.564, allocations: 1.256 MB / 0.9272 GB, free: 220 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/1.565, allocations: 198.2 kB / 0.9274 GB, free: 219.9 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0003807/1.565, allocations: 0.7327 MB / 0.9281 GB, free: 219.4 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005151/1.57, allocations: 4 MB / 0.9321 GB, free: 218 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008811/1.579, allocations: 9.547 MB / 0.9414 GB, free: 209.3 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/1.596, allocations: 14.48 MB / 0.9555 GB, free: 198.1 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003917/1.597, allocations: 55.25 kB / 0.9556 GB, free: 198.1 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02985/1.626, allocations: 15.4 MB / 0.9706 GB, free: 192.4 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002975/1.627, allocations: 88.66 kB / 0.9707 GB, free: 192.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003572/1.627, allocations: 193.2 kB / 0.9709 GB, free: 192.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/1.633, allocations: 2.291 MB / 0.9731 GB, free: 192 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007325/1.64, allocations: 2.344 MB / 0.9754 GB, free: 191.8 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/1.655, allocations: 15.31 MB / 0.9904 GB, free: 179.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00746/1.663, allocations: 0.5687 MB / 0.9909 GB, free: 178.6 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.664, allocations: 0.5686 MB / 0.9915 GB, free: 178.1 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1220): * Single equations (assignments): 1213 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006954/1.671, allocations: 3.742 MB / 0.9951 GB, free: 174.8 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/1.673, allocations: 0.6549 MB / 0.9958 GB, free: 174.1 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.686, allocations: 7.862 MB / 1.003 GB, free: 167.2 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-05/1.686, allocations: 37.8 kB / 1.003 GB, free: 167.1 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-05/1.686, allocations: 8 kB / 1.003 GB, free: 167.1 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/1.687, allocations: 19.94 kB / 1.004 GB, free: 167.1 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03123/1.718, allocations: 16.93 MB / 1.02 GB, free: 150.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/1.718, allocations: 0 / 1.02 GB, free: 150.2 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/1.721, allocations: 0.6008 MB / 1.021 GB, free: 149.6 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/1.725, allocations: 1.971 MB / 1.023 GB, free: 147.6 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005973/1.726, allocations: 56 kB / 1.023 GB, free: 147.5 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.739, allocations: 14.17 MB / 1.036 GB, free: 132.9 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.739, allocations: 4 kB / 1.036 GB, free: 132.9 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.757, allocations: 12.21 MB / 1.048 GB, free: 120.5 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/1.761, allocations: 1.273 MB / 1.05 GB, free: 119.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/1.763, allocations: 56 kB / 1.05 GB, free: 119.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/1.767, allocations: 239.7 kB / 1.05 GB, free: 119 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008542/1.768, allocations: 194.3 kB / 1.05 GB, free: 118.8 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004914/1.768, allocations: 93.47 kB / 1.05 GB, free: 118.7 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.008143/1.776, allocations: 4.835 MB / 1.055 GB, free: 113.9 MB / 0.5887 GB Notification: Performance of sort global known variables: time 3.61e-07/1.776, allocations: 0 / 1.055 GB, free: 113.9 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01051/1.787, allocations: 1.957 MB / 1.057 GB, free: 111.9 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.001186/1.788, allocations: 218.8 kB / 1.057 GB, free: 111.7 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01442/1.802, allocations: 9.847 MB / 1.067 GB, free: 101.9 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.802, allocations: 0 / 1.067 GB, free: 101.9 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.004899/1.807, allocations: 3.59 MB / 1.07 GB, free: 98.23 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009323/1.817, allocations: 0.8842 MB / 1.071 GB, free: 97.35 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/1.849, allocations: 22.1 MB / 1.093 GB, free: 75.2 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007444/1.857, allocations: 5.682 MB / 1.098 GB, free: 69.47 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.859, allocations: 0.5033 MB / 1.099 GB, free: 68.96 MB / 0.5887 GB Notification: Performance of SimCode: time 8.02e-07/1.859, allocations: 0 / 1.099 GB, free: 68.96 MB / 0.5887 GB Notification: Performance of Templates: time 0.4198/2.279, allocations: 248.5 MB / 1.341 GB, free: 60.04 MB / 0.5887 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches