Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2259, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01371/0.2396, allocations: 11.26 MB / 442.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008343/0.248, allocations: 4.097 MB / 446.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.2496, allocations: 75.69 kB / 446.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006462/0.256, allocations: 3.216 MB / 449.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.2613, allocations: 1.941 MB / 451.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.2635, allocations: 0.8343 MB / 452.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007459/0.271, allocations: 4.409 MB / 457 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.2753, allocations: 3.043 MB / 460.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.2781, allocations: 1.636 MB / 461.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.2817, allocations: 2.29 MB / 464 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000906/0.2826, allocations: 344 kB / 464.3 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.2853, allocations: 1.268 MB / 465.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.2878, allocations: 2.061 MB / 467.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.2912, allocations: 2.307 MB / 470 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009419/0.3006, allocations: 7.459 MB / 477.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3006, allocations: 0 / 477.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3006, allocations: 4 kB / 477.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.3008, allocations: 0 / 477.4 MB, free: 8.238 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01227/0.3131, allocations: 5.216 MB / 482.6 MB, free: 2.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3131, allocations: 12.03 kB / 482.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001636/0.3148, allocations: 0.7321 MB / 483.4 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02204/0.3368, allocations: 3.89 MB / 487.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007215/0.344, allocations: 2.916 MB / 490.2 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.3443, allocations: 242.1 kB / 490.4 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009933/0.3453, allocations: 323.8 kB / 490.8 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0198/0.3651, allocations: 10.38 MB / 0.4894 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.3652, allocations: 43.62 kB / 0.4894 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008594/0.3661, allocations: 155.9 kB / 0.4896 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00355/0.3696, allocations: 2.029 MB / 0.4916 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.3878, allocations: 8.788 MB / 0.5001 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2309/0.6187, allocations: 40.53 MB / 0.5397 GB, free: 74.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/0.6284, allocations: 3.809 MB / 0.5434 GB, free: 74.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.6305, allocations: 2.232 MB / 0.5456 GB, free: 74.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009403/0.6399, allocations: 6.545 MB / 0.552 GB, free: 72.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.64, allocations: 54.34 kB / 0.5521 GB, free: 72.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 3.747e-06/0.64, allocations: 0 / 0.5521 GB, free: 72.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03692/0.6769, allocations: 17.81 MB / 0.5694 GB, free: 60.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.6769, allocations: 179.1 kB / 0.5696 GB, free: 60.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.6814, allocations: 4.572 MB / 0.5741 GB, free: 55.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.6817, allocations: 53.7 kB / 0.5741 GB, free: 55.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.6829, allocations: 3.275 MB / 0.5773 GB, free: 52.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/0.6834, allocations: 0.7926 MB / 0.5781 GB, free: 51.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.6845, allocations: 1.246 MB / 0.5793 GB, free: 50.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.307e-05/0.6846, allocations: 301.1 kB / 0.5796 GB, free: 50.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.687, allocations: 2.276 MB / 0.5818 GB, free: 47.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/0.6906, allocations: 5.954 MB / 0.5876 GB, free: 40.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00724/0.6978, allocations: 8.961 MB / 0.5964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.002e-05/0.6979, allocations: 44 kB / 0.5964 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0118/0.7097, allocations: 8.807 MB / 0.605 GB, free: 20.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.7097, allocations: 60 kB / 0.6051 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.262e-05/0.7098, allocations: 132 kB / 0.6052 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.7122, allocations: 0.942 MB / 0.6061 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005845/0.718, allocations: 1.4 MB / 0.6075 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009711/0.7277, allocations: 6.411 MB / 0.6138 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006455/0.7342, allocations: 343.5 kB / 0.6141 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006678/0.7348, allocations: 374.8 kB / 0.6145 GB, free: 11.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (744): * Single equations (assignments): 738 * 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.003599/0.7384, allocations: 2.177 MB / 0.6166 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008239/0.7393, allocations: 409.2 kB / 0.617 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/0.7471, allocations: 3.672 MB / 0.6206 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/0.7471, allocations: 20.75 kB / 0.6206 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.7471, allocations: 4 kB / 0.6206 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.7472, allocations: 11.97 kB / 0.6206 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02403/0.7712, allocations: 9.025 MB / 0.6294 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.7712, allocations: 4 kB / 0.6294 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/0.7736, allocations: 320.6 kB / 0.6297 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.7768, allocations: 0.7656 MB / 0.6305 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004148/0.7772, allocations: 40 kB / 0.6305 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.7885, allocations: 6.021 MB / 0.6364 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.7886, allocations: 7.938 kB / 0.6364 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.8006, allocations: 6.593 MB / 0.6428 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.802, allocations: 405.1 kB / 0.6432 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/0.8031, allocations: 43.94 kB / 0.6433 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/0.8054, allocations: 119.8 kB / 0.6434 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/0.8059, allocations: 132.9 kB / 0.6435 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/0.8061, allocations: 56 kB / 0.6436 GB, free: 12.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006472/0.8126, allocations: 2.936 MB / 0.6464 GB, free: 9.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8126, allocations: 0 / 0.6464 GB, free: 9.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006391/0.819, allocations: 1.016 MB / 0.6474 GB, free: 8.969 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 (157): * Single equations (assignments): 153 * 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.01265/0.8316, allocations: 7.268 MB / 0.6545 GB, free: 1.609 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01047/0.8421, allocations: 5.307 MB / 0.6597 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.8421, allocations: 0 / 0.6597 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.8461, allocations: 1.848 MB / 0.6615 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004624/0.8507, allocations: 0.5004 MB / 0.662 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/0.9549, allocations: 50.2 MB / 0.711 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00669/0.9616, allocations: 3.359 MB / 0.7143 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00592/0.9675, allocations: 2.033 MB / 0.7163 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003611/0.9711, allocations: 1.995 MB / 0.7182 GB, free: 10.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/0.9711, allocations: 0 / 0.7182 GB, free: 10.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.118/2.089, allocations: 81.99 MB / 0.7983 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.79/28.88, allocations: 2.75 kB / 0.7983 GB, free: 174.1 MB / 0.5606 GB " [Timeout remaining time 631] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 32.2328008050099]