Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.004724/0.004724, allocations: 114.5 kB / 21.97 MB, free: 5.25 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.001315/0.001315, allocations: 206.4 kB / 25.27 MB, free: 3.238 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.329/1.329, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] 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.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",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.00166/0.00166, allocations: 52.41 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 49.17 MB / 397.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01024/0.247, allocations: 12.4 MB / 409.6 MB, free: 440 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009342/0.2563, allocations: 4.5 MB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.2587, allocations: 102 kB / 414.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.2644, allocations: 2.956 MB / 417.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.2713, allocations: 2.092 MB / 419.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.2754, allocations: 1.068 MB / 420.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.2888, allocations: 5.331 MB / 425.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007965/0.2968, allocations: 3.169 MB / 428.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006078/0.3028, allocations: 1.807 MB / 430.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006685/0.3095, allocations: 2.586 MB / 433.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.3114, allocations: 380 kB / 433.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00448/0.3158, allocations: 1.299 MB / 434.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004028/0.3199, allocations: 2.263 MB / 437.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004001/0.3239, allocations: 2.611 MB / 439.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3354, allocations: 8.393 MB / 448.1 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3354, allocations: 0 / 448.1 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3354, allocations: 0 / 448.1 MB, free: 296 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002642/0.3356, allocations: 4 kB / 448.1 MB, free: 292 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01759/0.3532, allocations: 5.707 MB / 453.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3533, allocations: 19.92 kB / 453.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001406/0.3534, allocations: 106.7 kB / 453.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001791/0.3552, allocations: 0.7481 MB / 454.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1614/0.5167, allocations: 12.41 MB / 467.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.5286, allocations: 4.477 MB / 471.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.5289, allocations: 246.3 kB / 471.8 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.5305, allocations: 339.7 kB / 472.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.5505, allocations: 10.22 MB / 482.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/0.5507, allocations: 51.58 kB / 482.4 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/0.5511, allocations: 155.9 kB / 482.6 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.5549, allocations: 2.029 MB / 484.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.5736, allocations: 8.642 MB / 493.2 MB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05826/0.6319, allocations: 39.08 MB / 0.5198 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009206/0.6411, allocations: 3.354 MB / 0.5231 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/0.6441, allocations: 1.971 MB / 0.525 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.6447, allocations: 200.6 kB / 0.5252 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.6447, allocations: 63.48 kB / 0.5253 GB, free: 4.445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.368e-06/0.6447, allocations: 0 / 0.5253 GB, free: 4.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06392/0.7086, allocations: 21.18 MB / 0.546 GB, free: 15.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.7088, allocations: 252.6 kB / 0.5462 GB, free: 14.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007091/0.7159, allocations: 4.3 MB / 0.5504 GB, free: 10.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003313/0.7162, allocations: 57.7 kB / 0.5505 GB, free: 10.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.719, allocations: 3.365 MB / 0.5538 GB, free: 7.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009751/0.7199, allocations: 0.8255 MB / 0.5546 GB, free: 6.297 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.7218, allocations: 1.227 MB / 0.5558 GB, free: 5.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7219, allocations: 309.1 kB / 0.5561 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.7253, allocations: 2.335 MB / 0.5583 GB, free: 2.414 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1759/0.9012, allocations: 5.891 MB / 0.5641 GB, free: 140.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008922/0.9101, allocations: 8.902 MB / 0.5728 GB, free: 134.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/0.9102, allocations: 35.75 kB / 0.5728 GB, free: 134.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01681/0.9271, allocations: 9.755 MB / 0.5823 GB, free: 131 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.9272, allocations: 58.94 kB / 0.5824 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.9273, allocations: 122.8 kB / 0.5825 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005395/0.9327, allocations: 2.099 MB / 0.5846 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004687/0.9374, allocations: 1.294 MB / 0.5858 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.9594, allocations: 16.84 MB / 0.6023 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004673/0.9641, allocations: 348.7 kB / 0.6026 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.9646, allocations: 367.4 kB / 0.603 GB, free: 119.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (693): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,88.9%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002644/0.9672, allocations: 2.229 MB / 0.6051 GB, free: 117.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.9677, allocations: 409.3 kB / 0.6055 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009138/0.9768, allocations: 4.392 MB / 0.6098 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.626e-05/0.9769, allocations: 31.94 kB / 0.6099 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.9769, allocations: 4 kB / 0.6099 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/0.9769, allocations: 11.97 kB / 0.6099 GB, free: 113.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/0.9976, allocations: 10.28 MB / 0.6199 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.9976, allocations: 3.938 kB / 0.6199 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.9989, allocations: 311.6 kB / 0.6202 GB, free: 102.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003237/1.002, allocations: 1.355 MB / 0.6215 GB, free: 101.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.002, allocations: 36 kB / 0.6216 GB, free: 101.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009076/1.011, allocations: 8.859 MB / 0.6302 GB, free: 92.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.011, allocations: 4 kB / 0.6302 GB, free: 92.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008846/1.02, allocations: 7.442 MB / 0.6375 GB, free: 84.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.022, allocations: 0.6893 MB / 0.6382 GB, free: 84.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004454/1.022, allocations: 39.45 kB / 0.6382 GB, free: 84.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.024, allocations: 123.8 kB / 0.6383 GB, free: 83.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/1.024, allocations: 125.9 kB / 0.6384 GB, free: 83.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.024, allocations: 59.98 kB / 0.6385 GB, free: 83.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00292/1.027, allocations: 2.714 MB / 0.6411 GB, free: 81.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.027, allocations: 0 / 0.6411 GB, free: 81.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004372/1.032, allocations: 1.149 MB / 0.6423 GB, free: 79.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008899/1.04, allocations: 8.083 MB / 0.6502 GB, free: 71.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007622/1.048, allocations: 6.004 MB / 0.656 GB, free: 65.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.048, allocations: 0 / 0.656 GB, free: 65.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/1.051, allocations: 2.114 MB / 0.6581 GB, free: 63.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.054, allocations: 0.5924 MB / 0.6587 GB, free: 63.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05871/1.113, allocations: 51.5 MB / 0.709 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/1.116, allocations: 3.544 MB / 0.7124 GB, free: 2.469 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003486/1.119, allocations: 1.925 MB / 0.7143 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/1.122, allocations: 2.102 MB / 0.7164 GB, free: 14.46 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/1.122, allocations: 0 / 0.7164 GB, free: 14.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5863/1.708, allocations: 91.56 MB / 0.8058 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.2/22.91, allocations: 11.95 kB / 0.8058 GB, free: 126.8 MB / 0.4981 GB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.82242307002889]