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.001278/0.001278, allocations: 99.62 kB / 21.95 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.001312/0.001312, 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.288/1.288, allocations: 207.7 MB / 236.1 MB, free: 9.797 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.001657/0.001657, allocations: 54.58 kB / 348 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2382, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01043/0.2487, allocations: 10.74 MB / 407.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.2578, allocations: 4.247 MB / 412.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.2612, allocations: 98.19 kB / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006827/0.268, allocations: 2.83 MB / 415.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006989/0.275, allocations: 2.102 MB / 417.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.2784, allocations: 1.036 MB / 418.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.2889, allocations: 5.33 MB / 423.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006414/0.2953, allocations: 3.177 MB / 426.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.2995, allocations: 1.807 MB / 428.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004953/0.3045, allocations: 2.593 MB / 431.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.3061, allocations: 384 kB / 431.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.3097, allocations: 1.174 MB / 432.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.3133, allocations: 2.263 MB / 434.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00524/0.3185, allocations: 1.985 MB / 436.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3319, allocations: 8.417 MB / 445.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3319, allocations: 0 / 445.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3319, allocations: 0 / 445.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003483/0.3322, allocations: 4 kB / 445.3 MB, free: 2.773 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01777/0.35, allocations: 5.707 MB / 451 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.35, allocations: 15.98 kB / 451 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001561/0.3502, allocations: 110.7 kB / 451.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002338/0.3525, allocations: 0.7403 MB / 451.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1477/0.5002, allocations: 12.41 MB / 464.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.5116, allocations: 4.492 MB / 468.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.512, allocations: 254.3 kB / 469 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.5136, allocations: 327.8 kB / 469.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.5359, allocations: 10.32 MB / 479.7 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/0.5361, allocations: 55.58 kB / 479.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001288/0.5374, allocations: 155.8 kB / 479.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003925/0.5413, allocations: 2.033 MB / 481.9 MB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.5602, allocations: 8.642 MB / 490.6 MB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05639/0.6165, allocations: 37.08 MB / 0.5153 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008736/0.6253, allocations: 3.352 MB / 0.5185 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.6282, allocations: 1.971 MB / 0.5205 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.6287, allocations: 196.7 kB / 0.5207 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.6287, allocations: 55.48 kB / 0.5207 GB, free: 8.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.268e-06/0.6287, allocations: 4 kB / 0.5207 GB, free: 8.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.0617/0.6904, allocations: 21.24 MB / 0.5415 GB, free: 3.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/0.6906, allocations: 260.6 kB / 0.5417 GB, free: 3.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006938/0.6976, allocations: 4.3 MB / 0.5459 GB, free: 15.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005482/0.6981, allocations: 57.69 kB / 0.546 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002909/0.701, allocations: 3.369 MB / 0.5493 GB, free: 11.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/0.7023, allocations: 0.8255 MB / 0.5501 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/0.7042, allocations: 1.223 MB / 0.5513 GB, free: 9.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7043, allocations: 301.1 kB / 0.5515 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003826/0.7082, allocations: 2.338 MB / 0.5538 GB, free: 6.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2074/0.9156, allocations: 5.982 MB / 0.5597 GB, free: 140.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009647/0.9253, allocations: 8.909 MB / 0.5684 GB, free: 134.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/0.9254, allocations: 36 kB / 0.5684 GB, free: 134.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01732/0.9427, allocations: 9.751 MB / 0.5779 GB, free: 130.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.9428, allocations: 62.86 kB / 0.578 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/0.943, allocations: 123.3 kB / 0.5781 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005402/0.9484, allocations: 2.1 MB / 0.5802 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/0.9518, allocations: 1.293 MB / 0.5814 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.9681, allocations: 16.68 MB / 0.5977 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/0.9724, allocations: 350.8 kB / 0.598 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/0.9729, allocations: 360 kB / 0.5984 GB, free: 120 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.002637/0.9755, allocations: 2.23 MB / 0.6006 GB, free: 117.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/0.9761, allocations: 405.3 kB / 0.6009 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006419/0.9825, allocations: 4.396 MB / 0.6052 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.9825, allocations: 31.61 kB / 0.6053 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.9826, allocations: 12 kB / 0.6053 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.9826, allocations: 11.95 kB / 0.6053 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.9964, allocations: 9.763 MB / 0.6148 GB, free: 103.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.9964, allocations: 3.938 kB / 0.6148 GB, free: 103.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.9977, allocations: 310.2 kB / 0.6151 GB, free: 103.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003274/1.001, allocations: 1.355 MB / 0.6164 GB, free: 101.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.001, allocations: 36 kB / 0.6165 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00926/1.01, allocations: 8.763 MB / 0.625 GB, free: 93.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.01, allocations: 4.062 kB / 0.625 GB, free: 93.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009059/1.019, allocations: 7.446 MB / 0.6323 GB, free: 85.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.021, allocations: 0.6932 MB / 0.633 GB, free: 84.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/1.022, allocations: 35.94 kB / 0.633 GB, free: 84.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.023, allocations: 123.8 kB / 0.6331 GB, free: 84.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.023, allocations: 129 kB / 0.6333 GB, free: 84.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.024, allocations: 60.7 kB / 0.6333 GB, free: 84.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002978/1.027, allocations: 2.718 MB / 0.636 GB, free: 81.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.027, allocations: 0 / 0.636 GB, free: 81.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004716/1.031, allocations: 1.141 MB / 0.6371 GB, free: 80.67 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.009042/1.04, allocations: 8.085 MB / 0.645 GB, free: 72.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008124/1.048, allocations: 5.997 MB / 0.6508 GB, free: 66.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.048, allocations: 4 kB / 0.6508 GB, free: 66.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.052, allocations: 2.113 MB / 0.6529 GB, free: 64.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.055, allocations: 0.5965 MB / 0.6535 GB, free: 63.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06419/1.119, allocations: 51.49 MB / 0.7038 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/1.122, allocations: 3.008 MB / 0.7067 GB, free: 3.742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003624/1.126, allocations: 1.928 MB / 0.7086 GB, free: 1.809 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/1.128, allocations: 2.097 MB / 0.7107 GB, free: 15.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/1.128, allocations: 0 / 0.7107 GB, free: 15.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4622/1.59, allocations: 89.31 MB / 0.7979 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.9/22.49, allocations: 8.062 kB / 0.7979 GB, free: 158.7 MB / 0.5137 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.319691345095634]