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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 104.2 kB / 21.96 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 53.48 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2347, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.009981/0.2447, allocations: 10.88 MB / 408 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008096/0.2528, allocations: 3.987 MB / 412 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.2552, allocations: 90.47 kB / 412.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006184/0.2614, allocations: 3.141 MB / 415.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.2674, allocations: 2.151 MB / 417.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.2696, allocations: 0.8323 MB / 418.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007148/0.2768, allocations: 4.554 MB / 422.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004964/0.2817, allocations: 3.222 MB / 426 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.2852, allocations: 1.787 MB / 427.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.2893, allocations: 2.547 MB / 430.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.2907, allocations: 388 kB / 430.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.2937, allocations: 1.19 MB / 431.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003038/0.2968, allocations: 2.283 MB / 434.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003693/0.3005, allocations: 1.91 MB / 436.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3112, allocations: 8.404 MB / 444.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3112, allocations: 4 kB / 444.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3112, allocations: 0 / 444.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.3114, allocations: 0 / 444.5 MB, free: 3.586 MB / 350.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.01124/0.3227, allocations: 5.689 MB / 450.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3227, allocations: 15.98 kB / 450.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001337/0.3229, allocations: 119.1 kB / 450.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/0.324, allocations: 0.8151 MB / 451.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/0.3452, allocations: 4.007 MB / 455.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006968/0.3522, allocations: 3.345 MB / 458.5 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.3524, allocations: 270.7 kB / 458.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007375/0.3531, allocations: 347.8 kB / 459.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.3726, allocations: 11.61 MB / 470.7 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3727, allocations: 43.62 kB / 470.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004593/0.3732, allocations: 171.8 kB / 470.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003804/0.377, allocations: 2.338 MB / 473.2 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/0.3953, allocations: 9.842 MB / 483.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05269/0.448, allocations: 42.38 MB / 0.5132 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.4601, allocations: 4.598 MB / 0.5176 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.4635, allocations: 2.524 MB / 0.5201 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.4748, allocations: 6.8 MB / 0.5267 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.4749, allocations: 55.88 kB / 0.5268 GB, free: 2.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.809e-06/0.4749, allocations: 0 / 0.5268 GB, free: 2.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.04754/0.5224, allocations: 19.98 MB / 0.5463 GB, free: 14.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5225, allocations: 176.2 kB / 0.5465 GB, free: 14.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006426/0.529, allocations: 4.789 MB / 0.5512 GB, free: 9.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003854/0.5293, allocations: 61.7 kB / 0.5512 GB, free: 9.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00257/0.5319, allocations: 3.545 MB / 0.5547 GB, free: 5.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.533, allocations: 0.9263 MB / 0.5556 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/0.5347, allocations: 1.358 MB / 0.5569 GB, free: 3.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5348, allocations: 309 kB / 0.5572 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.5386, allocations: 2.594 MB / 0.5597 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1689/0.7074, allocations: 6.518 MB / 0.5661 GB, free: 140.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009373/0.7168, allocations: 9.891 MB / 0.5758 GB, free: 132.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001599/0.7169, allocations: 39.19 kB / 0.5758 GB, free: 132.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01457/0.7315, allocations: 9.701 MB / 0.5853 GB, free: 129.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/0.7316, allocations: 62.88 kB / 0.5853 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/0.7317, allocations: 135.5 kB / 0.5855 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.7336, allocations: 0.9575 MB / 0.5864 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.738, allocations: 1.576 MB / 0.5879 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.7439, allocations: 6.383 MB / 0.5942 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/0.7485, allocations: 370.4 kB / 0.5945 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007752/0.7492, allocations: 402.1 kB / 0.5949 GB, free: 125.6 MB / 478.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.00294/0.7522, allocations: 2.38 MB / 0.5972 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/0.7527, allocations: 436.4 kB / 0.5976 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.7584, allocations: 4.388 MB / 0.6019 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.7584, allocations: 35.83 kB / 0.602 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.7585, allocations: 11.83 kB / 0.602 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.7585, allocations: 7.734 kB / 0.602 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.7712, allocations: 9.92 MB / 0.6117 GB, free: 110.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7712, allocations: 8 kB / 0.6117 GB, free: 110.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.773, allocations: 431.9 kB / 0.6121 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.7746, allocations: 0.7742 MB / 0.6128 GB, free: 109.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.7748, allocations: 44 kB / 0.6129 GB, free: 109.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.7804, allocations: 5.961 MB / 0.6187 GB, free: 103.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7804, allocations: 12 kB / 0.6187 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008343/0.7888, allocations: 7.718 MB / 0.6263 GB, free: 95.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/0.7904, allocations: 0.7678 MB / 0.627 GB, free: 94.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/0.791, allocations: 47.98 kB / 0.6271 GB, free: 94.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.7925, allocations: 139.8 kB / 0.6272 GB, free: 94.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.7929, allocations: 157.5 kB / 0.6273 GB, free: 94.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.793, allocations: 63.98 kB / 0.6274 GB, free: 94.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003419/0.7964, allocations: 3.07 MB / 0.6304 GB, free: 91.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7964, allocations: 0 / 0.6304 GB, free: 91.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004748/0.8012, allocations: 1.157 MB / 0.6315 GB, free: 90.07 MB / 478.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.008294/0.8095, allocations: 8.392 MB / 0.6397 GB, free: 81.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007278/0.8167, allocations: 6.016 MB / 0.6456 GB, free: 75.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.8168, allocations: 4 kB / 0.6456 GB, free: 75.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.8196, allocations: 2.157 MB / 0.6477 GB, free: 73.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.8225, allocations: 0.5313 MB / 0.6482 GB, free: 72.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05981/0.8823, allocations: 55.16 MB / 0.7021 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/0.8851, allocations: 3.143 MB / 0.7052 GB, free: 8.242 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004007/0.8891, allocations: 2.216 MB / 0.7073 GB, free: 6.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/0.8915, allocations: 2.221 MB / 0.7095 GB, free: 3.797 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8915, allocations: 0 / 0.7095 GB, free: 3.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9703/1.862, allocations: 86.07 MB / 0.7935 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.37/22.23, allocations: 17.59 kB / 0.7936 GB, free: 163.5 MB / 0.5137 GB " [Timeout remaining time 638] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.201565838069655]