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.001332/0.001332, allocations: 116.4 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.001489/0.001489, allocations: 215.1 kB / 23.75 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.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002034/0.002034, allocations: 60.05 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2221, allocations: 53.41 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01436/0.2365, allocations: 11.86 MB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009069/0.2455, allocations: 4.389 MB / 447.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.2474, allocations: 99.44 kB / 447.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006028/0.2534, allocations: 2.924 MB / 450.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.2585, allocations: 1.981 MB / 452.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.261, allocations: 1.06 MB / 453.5 MB, free: 464 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008001/0.269, allocations: 5.607 MB / 459.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004404/0.2734, allocations: 3.071 MB / 462.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.2765, allocations: 1.737 MB / 463.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.2804, allocations: 2.477 MB / 466.4 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.2814, allocations: 367.9 kB / 466.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.2841, allocations: 1.276 MB / 468 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.2867, allocations: 2.131 MB / 470.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.2906, allocations: 2.482 MB / 472.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009949/0.3005, allocations: 7.919 MB / 480.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3005, allocations: 0 / 480.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3005, allocations: 0 / 480.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.3007, allocations: 4 kB / 480.6 MB, free: 5.25 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.01546/0.3162, allocations: 5.496 MB / 486.1 MB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3162, allocations: 8.031 kB / 486.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001687/0.3179, allocations: 0.7071 MB / 486.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1583/0.4763, allocations: 12.39 MB / 499.2 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009717/0.486, allocations: 3.875 MB / 0.4912 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.4862, allocations: 238.1 kB / 0.4915 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.4874, allocations: 323.8 kB / 0.4918 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.5057, allocations: 9.726 MB / 0.5013 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/0.5059, allocations: 47.59 kB / 0.5013 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007224/0.5066, allocations: 151.9 kB / 0.5015 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003431/0.51, allocations: 1.9 MB / 0.5033 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/0.5264, allocations: 8.234 MB / 0.5114 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2364/0.7628, allocations: 37.63 MB / 0.5481 GB, free: 75.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007448/0.7702, allocations: 3.241 MB / 0.5513 GB, free: 75.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.7724, allocations: 1.927 MB / 0.5532 GB, free: 75.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/0.7729, allocations: 203.3 kB / 0.5534 GB, free: 75.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.773, allocations: 61.12 kB / 0.5534 GB, free: 74.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.729e-06/0.773, allocations: 0 / 0.5534 GB, free: 74.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05069/0.8236, allocations: 20.92 MB / 0.5738 GB, free: 62.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.8237, allocations: 252.6 kB / 0.5741 GB, free: 62.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/0.8287, allocations: 4.177 MB / 0.5782 GB, free: 57.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003723/0.8291, allocations: 57.7 kB / 0.5782 GB, free: 57.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.8306, allocations: 3.245 MB / 0.5814 GB, free: 54.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007295/0.8313, allocations: 0.7929 MB / 0.5822 GB, free: 54.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.8328, allocations: 1.19 MB / 0.5833 GB, free: 53.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.8329, allocations: 301.1 kB / 0.5836 GB, free: 52.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/0.8357, allocations: 2.272 MB / 0.5858 GB, free: 50.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/0.8399, allocations: 5.745 MB / 0.5914 GB, free: 43.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007323/0.8472, allocations: 8.682 MB / 0.5999 GB, free: 32.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.223e-05/0.8473, allocations: 38.19 kB / 0.6 GB, free: 32.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01626/0.8635, allocations: 9.537 MB / 0.6093 GB, free: 23.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.8636, allocations: 60 kB / 0.6093 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.8637, allocations: 120 kB / 0.6094 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005616/0.8694, allocations: 2.085 MB / 0.6115 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/0.8729, allocations: 1.248 MB / 0.6127 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.8918, allocations: 16.94 MB / 0.6292 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/0.8961, allocations: 343.5 kB / 0.6296 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008847/0.897, allocations: 355.7 kB / 0.6299 GB, free: 1.676 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.003756/0.9008, allocations: 2.136 MB / 0.632 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/0.9017, allocations: 397.3 kB / 0.6324 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/0.9113, allocations: 4.263 MB / 0.6365 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-05/0.9113, allocations: 28 kB / 0.6366 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.9114, allocations: 4 kB / 0.6366 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.929e-05/0.9114, allocations: 11.97 kB / 0.6366 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/0.9334, allocations: 9.933 MB / 0.6463 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.9334, allocations: 0 / 0.6463 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.9349, allocations: 291.5 kB / 0.6466 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004153/0.9391, allocations: 1.359 MB / 0.6479 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002834/0.9394, allocations: 36 kB / 0.6479 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/0.9536, allocations: 8.875 MB / 0.6566 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9536, allocations: 3.938 kB / 0.6566 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.9671, allocations: 7.241 MB / 0.6637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.9683, allocations: 369.2 kB / 0.664 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009914/0.9693, allocations: 35.52 kB / 0.664 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.9714, allocations: 119.8 kB / 0.6642 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005375/0.9719, allocations: 129 kB / 0.6643 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.9721, allocations: 48 kB / 0.6643 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005058/0.9772, allocations: 2.648 MB / 0.6669 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9772, allocations: 0 / 0.6669 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005765/0.983, allocations: 1.094 MB / 0.668 GB, free: 10.45 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.01444/0.9974, allocations: 7.897 MB / 0.6757 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.008, allocations: 5.817 MB / 0.6814 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.008, allocations: 4 kB / 0.6814 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/1.012, allocations: 2.073 MB / 0.6834 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/1.016, allocations: 0.5896 MB / 0.684 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0943/1.11, allocations: 49.88 MB / 0.7327 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006123/1.117, allocations: 3.389 MB / 0.736 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005186/1.122, allocations: 1.88 MB / 0.7378 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003577/1.125, allocations: 1.983 MB / 0.7398 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/1.125, allocations: 0 / 0.7398 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3489/1.474, allocations: 89.02 MB / 0.8267 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.04/30.52, allocations: 4.062 kB / 0.8267 GB, free: 151.3 MB / 0.5606 GB " [Timeout remaining time 629] (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: 34.06451886380091]