Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.001652/0.001652, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001795/0.001795, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 59.91 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2547, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01333/0.268, allocations: 10.34 MB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008784/0.2768, allocations: 4.153 MB / 445.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.2786, allocations: 103.4 kB / 445.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005643/0.2842, allocations: 2.799 MB / 448.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.2891, allocations: 1.995 MB / 450.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.2914, allocations: 1.025 MB / 451.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007944/0.2993, allocations: 5.616 MB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/0.3035, allocations: 3.043 MB / 460.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3066, allocations: 1.737 MB / 462 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/0.3103, allocations: 2.34 MB / 464.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008115/0.3111, allocations: 360 kB / 464.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.3134, allocations: 1.135 MB / 465.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.3156, allocations: 2.142 MB / 467.9 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.318, allocations: 1.884 MB / 469.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009417/0.3275, allocations: 7.939 MB / 477.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3275, allocations: 0 / 477.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3275, allocations: 0 / 477.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001797/0.3276, allocations: 0 / 477.7 MB, free: 7.633 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.01479/0.3424, allocations: 5.504 MB / 483.2 MB, free: 2.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3425, allocations: 15.98 kB / 483.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/0.3438, allocations: 0.707 MB / 484 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1777/0.5215, allocations: 12.38 MB / 496.4 MB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.5328, allocations: 3.887 MB / 0.4885 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.5331, allocations: 238.1 kB / 0.4887 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.5344, allocations: 319.8 kB / 0.4891 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.5525, allocations: 9.826 MB / 0.4986 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.5527, allocations: 47.59 kB / 0.4987 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.5531, allocations: 147.9 kB / 0.4988 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003743/0.5569, allocations: 1.908 MB / 0.5007 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.5736, allocations: 8.206 MB / 0.5087 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/0.8252, allocations: 35.75 MB / 0.5436 GB, free: 77.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007252/0.8325, allocations: 3.241 MB / 0.5468 GB, free: 77.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.8344, allocations: 1.921 MB / 0.5487 GB, free: 76.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.8349, allocations: 200.5 kB / 0.5489 GB, free: 76.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.8349, allocations: 58.84 kB / 0.5489 GB, free: 76.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.359e-06/0.8349, allocations: 0 / 0.5489 GB, free: 76.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05041/0.8853, allocations: 20.97 MB / 0.5694 GB, free: 63.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.8854, allocations: 256.6 kB / 0.5696 GB, free: 63.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.8899, allocations: 4.379 MB / 0.5739 GB, free: 58.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002961/0.8902, allocations: 61.06 kB / 0.574 GB, free: 58.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.8916, allocations: 3.24 MB / 0.5771 GB, free: 55.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006283/0.8923, allocations: 0.7962 MB / 0.5779 GB, free: 55.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.8935, allocations: 1.187 MB / 0.5791 GB, free: 53.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.8935, allocations: 302.2 kB / 0.5794 GB, free: 53.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.8959, allocations: 2.276 MB / 0.5816 GB, free: 51.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.8994, allocations: 5.846 MB / 0.5873 GB, free: 43.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006866/0.9063, allocations: 8.676 MB / 0.5958 GB, free: 33.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.166e-05/0.9064, allocations: 39.94 kB / 0.5958 GB, free: 33.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01403/0.9204, allocations: 9.544 MB / 0.6051 GB, free: 24.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.9205, allocations: 56 kB / 0.6052 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.162e-05/0.9206, allocations: 120 kB / 0.6053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0053/0.9259, allocations: 2.071 MB / 0.6073 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.9292, allocations: 1.248 MB / 0.6085 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/0.9475, allocations: 16.78 MB / 0.6249 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/0.9521, allocations: 343.6 kB / 0.6252 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006647/0.9528, allocations: 351.8 kB / 0.6256 GB, free: 2.73 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.00264/0.9554, allocations: 2.132 MB / 0.6277 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006492/0.9561, allocations: 397.3 kB / 0.628 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/0.9646, allocations: 4.266 MB / 0.6322 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/0.9646, allocations: 26.7 kB / 0.6322 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.9646, allocations: 8.75 kB / 0.6322 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/0.9646, allocations: 7.969 kB / 0.6322 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/0.9845, allocations: 9.435 MB / 0.6415 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.9846, allocations: 4.062 kB / 0.6415 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.986, allocations: 283.6 kB / 0.6417 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004169/0.9902, allocations: 1.351 MB / 0.643 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.9904, allocations: 31.98 kB / 0.6431 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.005, allocations: 8.78 MB / 0.6517 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.005, allocations: 3.938 kB / 0.6517 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.018, allocations: 7.259 MB / 0.6587 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.019, allocations: 369.2 kB / 0.6591 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000527/1.02, allocations: 32 kB / 0.6591 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.022, allocations: 123.8 kB / 0.6592 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.022, allocations: 125 kB / 0.6594 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.022, allocations: 48 kB / 0.6594 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004218/1.026, allocations: 2.64 MB / 0.662 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.026, allocations: 0 / 0.662 GB, free: 13.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004872/1.031, allocations: 1.098 MB / 0.6631 GB, free: 12.13 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.01311/1.044, allocations: 7.89 MB / 0.6708 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01034/1.055, allocations: 5.827 MB / 0.6765 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.055, allocations: 4 kB / 0.6765 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004235/1.059, allocations: 2.065 MB / 0.6785 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.062, allocations: 0.5894 MB / 0.6791 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08208/1.145, allocations: 49.86 MB / 0.7277 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/1.149, allocations: 2.863 MB / 0.7305 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004655/1.153, allocations: 1.877 MB / 0.7324 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/1.157, allocations: 1.983 MB / 0.7343 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.157, allocations: 0 / 0.7343 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3276/1.484, allocations: 84.76 MB / 0.8171 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/19.36, allocations: 11.72 kB / 0.8171 GB, free: 158.1 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 22.74487794423476]