Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.248/1.248, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.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.001155/0.001155, allocations: 47.94 kB / 280.2 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08365, allocations: 46.64 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.227/0.3107, allocations: 57.94 MB / 384.8 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3351, allocations: 11.67 MB / 396.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01136/0.3465, allocations: 245.2 kB / 396.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005403/0.352, allocations: 3.104 MB / 399.8 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.3572, allocations: 1.934 MB / 401.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.3591, allocations: 0.7854 MB / 402.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006046/0.3652, allocations: 4.704 MB / 407.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.3694, allocations: 4.396 MB / 411.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.3722, allocations: 1.78 MB / 413.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.3753, allocations: 2.621 MB / 416.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008262/0.3761, allocations: 387.1 kB / 416.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.3784, allocations: 1.293 MB / 417.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.3803, allocations: 2.258 MB / 420 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.3826, allocations: 2.606 MB / 422.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007888/0.3905, allocations: 8.112 MB / 430.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3906, allocations: 0 / 430.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3906, allocations: 4 kB / 430.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001973/0.3908, allocations: 0 / 430.7 MB, free: 2.363 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.0106/0.4014, allocations: 5.609 MB / 436.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4015, allocations: 8.031 kB / 436.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008873/0.4024, allocations: 0.8228 MB / 437.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/0.424, allocations: 3.972 MB / 441.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/0.4302, allocations: 3.337 MB / 444.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.4305, allocations: 272.7 kB / 444.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007369/0.4312, allocations: 356.7 kB / 445.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.4493, allocations: 11.58 MB / 456.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4495, allocations: 47.53 kB / 456.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004956/0.45, allocations: 166.2 kB / 456.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.4538, allocations: 2.334 MB / 459.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/0.4727, allocations: 9.849 MB / 469.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05516/0.5279, allocations: 44.3 MB / 0.5013 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.5404, allocations: 5.27 MB / 0.5065 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.5438, allocations: 2.75 MB / 0.5091 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/0.557, allocations: 7.995 MB / 0.517 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.5571, allocations: 59.81 kB / 0.517 GB, free: 14.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 5.791e-06/0.5571, allocations: 4 kB / 0.517 GB, free: 14.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.2122/0.7693, allocations: 19.96 MB / 0.5365 GB, free: 164.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/0.7694, allocations: 178.9 kB / 0.5367 GB, free: 163.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009566/0.779, allocations: 4.777 MB / 0.5413 GB, free: 162.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006571/0.7797, allocations: 57.33 kB / 0.5414 GB, free: 162.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00266/0.7823, allocations: 3.418 MB / 0.5447 GB, free: 159.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.7836, allocations: 0.894 MB / 0.5456 GB, free: 158.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.7856, allocations: 1.34 MB / 0.5469 GB, free: 158.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.7857, allocations: 305 kB / 0.5472 GB, free: 157.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/0.7894, allocations: 2.596 MB / 0.5497 GB, free: 157.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004928/0.7944, allocations: 6.503 MB / 0.5561 GB, free: 151 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/0.8037, allocations: 9.885 MB / 0.5657 GB, free: 143 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.801e-05/0.8038, allocations: 46.12 kB / 0.5658 GB, free: 143 MB / 446.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01548/0.8193, allocations: 9.687 MB / 0.5752 GB, free: 137 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.8195, allocations: 67.94 kB / 0.5753 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002391/0.8198, allocations: 136 kB / 0.5754 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.8222, allocations: 0.949 MB / 0.5764 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/0.8279, allocations: 1.575 MB / 0.5779 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007165/0.8351, allocations: 6.558 MB / 0.5843 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/0.8415, allocations: 374.4 kB / 0.5847 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/0.8429, allocations: 404 kB / 0.5851 GB, free: 126.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005197/0.8481, allocations: 2.377 MB / 0.5874 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.8495, allocations: 418.6 kB / 0.5878 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007779/0.8573, allocations: 4.409 MB / 0.5921 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/0.8574, allocations: 24 kB / 0.5921 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.8574, allocations: 8 kB / 0.5921 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/0.8575, allocations: 11.95 kB / 0.5921 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/0.8768, allocations: 10.53 MB / 0.6024 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.8768, allocations: 8 kB / 0.6024 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/0.8787, allocations: 428.8 kB / 0.6028 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.8805, allocations: 0.7733 MB / 0.6036 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.8807, allocations: 47.98 kB / 0.6036 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005993/0.8867, allocations: 6.074 MB / 0.6096 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.922e-06/0.8868, allocations: 15.59 kB / 0.6096 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009781/0.8965, allocations: 7.698 MB / 0.6171 GB, free: 93.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/0.8989, allocations: 0.8235 MB / 0.6179 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/0.9002, allocations: 39.98 kB / 0.6179 GB, free: 92.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/0.9026, allocations: 139.8 kB / 0.6181 GB, free: 92.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004467/0.9031, allocations: 157.5 kB / 0.6182 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/0.9033, allocations: 67.94 kB / 0.6183 GB, free: 92.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004977/0.9083, allocations: 3.067 MB / 0.6213 GB, free: 89.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9083, allocations: 0 / 0.6213 GB, free: 89.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006984/0.9153, allocations: 1.155 MB / 0.6224 GB, free: 88.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/0.9286, allocations: 8.363 MB / 0.6306 GB, free: 79.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01231/0.9409, allocations: 8.088 MB / 0.6385 GB, free: 71.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.941, allocations: 384 / 0.6385 GB, free: 71.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00338/0.9444, allocations: 2.321 MB / 0.6407 GB, free: 69.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/0.9484, allocations: 0.5259 MB / 0.6412 GB, free: 69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2298/1.178, allocations: 66.25 MB / 0.7059 GB, free: 151.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005112/1.183, allocations: 3.668 MB / 0.7095 GB, free: 150.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005232/1.189, allocations: 2.221 MB / 0.7117 GB, free: 150.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003159/1.192, allocations: 2.218 MB / 0.7139 GB, free: 149.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/1.192, allocations: 0 / 0.7139 GB, free: 149.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.293, allocations: 86.65 MB / 0.7985 GB, free: 75.31 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.293, allocations: 238.4 kB / 0.7987 GB, free: 75.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.95/5.244, allocations: 4 kB / 0.7987 GB, free: 75.05 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches