Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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_trunk_cpp_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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_trunk_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 203.4 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007397/0.0007397, allocations: 94.38 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1675/0.1675, allocations: 44.83 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 8 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.0902, allocations: 62.96 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2427/0.3329, allocations: 80.98 MB / 0.5944 GB, free: 12.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03362/0.3665, allocations: 16.37 MB / 0.6104 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.3794, allocations: 391.1 kB / 0.6108 GB, free: 11.71 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.3911, allocations: 4.281 MB / 0.6149 GB, free: 7.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03179/0.4229, allocations: 12.39 MB / 0.627 GB, free: 10.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005361/0.4283, allocations: 0.8932 MB / 0.6279 GB, free: 10.08 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.07172/0.5, allocations: 63.17 MB / 0.6896 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.5111, allocations: 7.31 MB / 0.6967 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/0.5157, allocations: 1.923 MB / 0.6986 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005205/0.5209, allocations: 2.991 MB / 0.7015 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.5222, allocations: 212 kB / 0.7017 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.5252, allocations: 0.9831 MB / 0.7027 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003337/0.5286, allocations: 2.661 MB / 0.7053 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.5306, allocations: 1.252 MB / 0.7065 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008513/0.5391, allocations: 8.191 MB / 0.7145 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5392, allocations: 4 kB / 0.7145 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5392, allocations: 4 kB / 0.7145 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003246/0.5395, allocations: 0 / 0.7145 GB, free: 1.172 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.1998/0.7393, allocations: 6.304 MB / 0.7207 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7394, allocations: 8.969 kB / 0.7207 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.7527, allocations: 2.835 MB / 0.7235 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.763, allocations: 4.161 MB / 0.7275 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/0.7634, allocations: 358.5 kB / 0.7279 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.7651, allocations: 487.2 kB / 0.7283 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/0.7919, allocations: 15.04 MB / 0.743 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.7921, allocations: 62.97 kB / 0.7431 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005564/0.7927, allocations: 234.2 kB / 0.7433 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/0.7965, allocations: 2.866 MB / 0.7461 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.8163, allocations: 12.77 MB / 0.7586 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/0.8735, allocations: 59.11 MB / 0.8163 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/0.8882, allocations: 7.283 MB / 0.8234 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/0.8917, allocations: 3.88 MB / 0.8272 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.9022, allocations: 9.026 MB / 0.836 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.9023, allocations: 64.55 kB / 0.8361 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 4.328e-06/0.9023, allocations: 0 / 0.8361 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.07024/0.9725, allocations: 32.83 MB / 0.8681 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.9726, allocations: 235.6 kB / 0.8684 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007138/0.9798, allocations: 6.678 MB / 0.8749 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006672/0.9805, allocations: 69.7 kB / 0.875 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.9823, allocations: 4.465 MB / 0.8793 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009528/0.9833, allocations: 1.096 MB / 0.8804 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.9836, allocations: 172 kB / 0.8805 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003332/0.984, allocations: 0.6818 MB / 0.8812 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/0.9881, allocations: 3.593 MB / 0.8847 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/0.9937, allocations: 8.625 MB / 0.8931 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006283/1, allocations: 5.432 MB / 0.8984 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.943e-05/1, allocations: 52 kB / 0.8985 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02589/1.026, allocations: 14.02 MB / 0.9122 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.026, allocations: 80 kB / 0.9123 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/1.026, allocations: 176 kB / 0.9124 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/1.032, allocations: 2.296 MB / 0.9147 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2159/1.248, allocations: 2.016 MB / 0.9166 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/1.265, allocations: 13.22 MB / 0.9295 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007427/1.273, allocations: 0.5073 MB / 0.93 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/1.275, allocations: 0.5131 MB / 0.9305 GB, free: 159.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1064): * Single equations (assignments): 1057 * 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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006213/1.281, allocations: 3.046 MB / 0.9335 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.282, allocations: 0.5589 MB / 0.9341 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.296, allocations: 7.211 MB / 0.9411 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/1.296, allocations: 33.72 kB / 0.9411 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/1.296, allocations: 9.156 kB / 0.9411 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.742e-05/1.296, allocations: 16.31 kB / 0.9412 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.322, allocations: 15.26 MB / 0.9561 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.322, allocations: 6.484 kB / 0.9561 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.324, allocations: 497.6 kB / 0.9565 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004692/1.329, allocations: 2.013 MB / 0.9585 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000372/1.329, allocations: 50.59 kB / 0.9586 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.342, allocations: 12.57 MB / 0.9708 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.342, allocations: 7.938 kB / 0.9708 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.358, allocations: 11.46 MB / 0.982 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.36, allocations: 0.6409 MB / 0.9827 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.362, allocations: 54.94 kB / 0.9827 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00348/1.365, allocations: 213.7 kB / 0.9829 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005943/1.366, allocations: 177.6 kB / 0.9831 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003135/1.366, allocations: 77.8 kB / 0.9832 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007252/1.373, allocations: 4.261 MB / 0.9873 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/1.373, allocations: 0 / 0.9873 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01018/1.384, allocations: 1.621 MB / 0.9889 GB, free: 120.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/1.385, allocations: 199 kB / 0.9891 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.398, allocations: 8.777 MB / 0.9977 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.398, allocations: 4 kB / 0.9977 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006206/1.405, allocations: 3.523 MB / 1.001 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00734/1.412, allocations: 0.7085 MB / 1.002 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/1.441, allocations: 18.15 MB / 1.02 GB, free: 89.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005049/1.446, allocations: 4.611 MB / 1.024 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.448, allocations: 445.9 kB / 1.024 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/1.448, allocations: 0 / 1.024 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.3644/1.812, allocations: 144.6 MB / 1.166 GB, free: 152 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches