Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001989/0.001989, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002381/0.002381, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 55.86 kB / 377.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2772, allocations: 53.35 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.014/0.2912, allocations: 10.34 MB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.3016, allocations: 4.156 MB / 445.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.3044, allocations: 99.44 kB / 445.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006103/0.3105, allocations: 2.811 MB / 448.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.3157, allocations: 1.988 MB / 450.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.3179, allocations: 1.025 MB / 451.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007261/0.3251, allocations: 5.612 MB / 457.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.3286, allocations: 3.052 MB / 460.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.3308, allocations: 1.748 MB / 461.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.3341, allocations: 2.465 MB / 464.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006404/0.3347, allocations: 364 kB / 464.7 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.3367, allocations: 1.155 MB / 465.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.3388, allocations: 2.146 MB / 468 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.341, allocations: 1.88 MB / 469.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008986/0.35, allocations: 7.942 MB / 477.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.35, allocations: 0 / 477.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.35, allocations: 0 / 477.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002076/0.3502, allocations: 0 / 477.9 MB, free: 7.668 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01533/0.3655, allocations: 5.5 MB / 483.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3656, allocations: 12.03 kB / 483.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.3668, allocations: 0.7071 MB / 484.1 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1507/0.5176, allocations: 12.38 MB / 496.5 MB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.5278, allocations: 3.887 MB / 0.4886 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.528, allocations: 238.1 kB / 0.4889 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008653/0.5289, allocations: 323.8 kB / 0.4892 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.5449, allocations: 9.823 MB / 0.4988 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.545, allocations: 43.66 kB / 0.4988 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.5454, allocations: 151.9 kB / 0.4989 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003428/0.5488, allocations: 1.904 MB / 0.5008 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.5647, allocations: 8.218 MB / 0.5088 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2852/0.8499, allocations: 35.73 MB / 0.5437 GB, free: 77.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007759/0.8577, allocations: 3.247 MB / 0.5469 GB, free: 77.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.8597, allocations: 1.922 MB / 0.5488 GB, free: 76.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.8601, allocations: 205.4 kB / 0.549 GB, free: 76.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.8602, allocations: 48.25 kB / 0.549 GB, free: 76.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.508e-06/0.8602, allocations: 0 / 0.549 GB, free: 76.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04982/0.91, allocations: 20.97 MB / 0.5695 GB, free: 63.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.9101, allocations: 256.1 kB / 0.5697 GB, free: 63.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/0.9145, allocations: 4.382 MB / 0.574 GB, free: 59.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.9147, allocations: 57.06 kB / 0.5741 GB, free: 59.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.9161, allocations: 3.246 MB / 0.5772 GB, free: 56.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/0.9167, allocations: 0.8011 MB / 0.578 GB, free: 55.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.9179, allocations: 1.183 MB / 0.5792 GB, free: 54.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.9179, allocations: 305.1 kB / 0.5795 GB, free: 53.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.9202, allocations: 2.276 MB / 0.5817 GB, free: 51.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003631/0.9239, allocations: 5.837 MB / 0.5874 GB, free: 44.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007006/0.9309, allocations: 8.68 MB / 0.5959 GB, free: 33.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.291e-05/0.9309, allocations: 36 kB / 0.5959 GB, free: 33.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01379/0.9447, allocations: 9.537 MB / 0.6052 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.9448, allocations: 56 kB / 0.6053 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.905e-05/0.9449, allocations: 124 kB / 0.6054 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005341/0.9502, allocations: 2.077 MB / 0.6074 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.9535, allocations: 1.253 MB / 0.6086 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.9709, allocations: 16.78 MB / 0.625 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/0.9752, allocations: 343.5 kB / 0.6253 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004968/0.9757, allocations: 348 kB / 0.6257 GB, free: 2.977 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (671): * Single equations (assignments): 665 * 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 {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002508/0.9782, allocations: 2.135 MB / 0.6278 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005427/0.9788, allocations: 397.4 kB / 0.6281 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/0.9867, allocations: 4.262 MB / 0.6323 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.9867, allocations: 24 kB / 0.6323 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.9867, allocations: 4 kB / 0.6323 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.9867, allocations: 15.97 kB / 0.6323 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.005, allocations: 9.437 MB / 0.6416 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.005, allocations: 0 / 0.6416 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.006, allocations: 287.6 kB / 0.6418 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/1.01, allocations: 1.351 MB / 0.6432 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/1.01, allocations: 36 kB / 0.6432 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/1.023, allocations: 8.77 MB / 0.6518 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.023, allocations: 7.984 kB / 0.6518 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.034, allocations: 7.259 MB / 0.6589 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.035, allocations: 372.4 kB / 0.6592 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/1.036, allocations: 35.98 kB / 0.6592 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.037, allocations: 119.8 kB / 0.6594 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/1.038, allocations: 121 kB / 0.6595 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.038, allocations: 51.98 kB / 0.6595 GB, free: 124 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003674/1.042, allocations: 2.638 MB / 0.6621 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.042, allocations: 4 kB / 0.6621 GB, free: 13.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004198/1.046, allocations: 1.101 MB / 0.6632 GB, free: 12.38 MB / 494.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 (147): * Single equations (assignments): 143 * 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.01165/1.057, allocations: 7.897 MB / 0.6709 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009176/1.067, allocations: 5.817 MB / 0.6766 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.067, allocations: 0 / 0.6766 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003755/1.07, allocations: 2.062 MB / 0.6786 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.073, allocations: 0.582 MB / 0.6792 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07245/1.146, allocations: 49.86 MB / 0.7278 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003858/1.15, allocations: 2.863 MB / 0.7306 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004136/1.154, allocations: 1.88 MB / 0.7325 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/1.157, allocations: 1.979 MB / 0.7344 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.157, allocations: 4 kB / 0.7344 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/2.286, allocations: 87.35 MB / 0.8197 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/20.16, allocations: 15.06 kB / 0.8197 GB, free: 156.1 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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: 23.619745639996836]