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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002195/0.002195, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 7.805 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.89 kB / 378.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2768, allocations: 53.4 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01346/0.2903, allocations: 10.33 MB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.3001, allocations: 4.156 MB / 446.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.3026, allocations: 99.44 kB / 446.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005854/0.3084, allocations: 2.807 MB / 449 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00541/0.3138, allocations: 1.992 MB / 451 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.3162, allocations: 1.029 MB / 452.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007777/0.324, allocations: 5.608 MB / 457.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004075/0.328, allocations: 3.047 MB / 460.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.3308, allocations: 1.744 MB / 462.5 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.3344, allocations: 2.344 MB / 464.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007243/0.3351, allocations: 360 kB / 465.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.3374, allocations: 1.135 MB / 466.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.3396, allocations: 2.127 MB / 468.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.3417, allocations: 1.744 MB / 470.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008659/0.3504, allocations: 7.613 MB / 477.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3504, allocations: 0 / 477.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3504, allocations: 0 / 477.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001521/0.3505, allocations: 4 kB / 477.8 MB, free: 8.219 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.0109/0.3614, allocations: 5.242 MB / 483 MB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3615, allocations: 19.97 kB / 483 MB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02606/0.3875, allocations: 3.185 MB / 486.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.3976, allocations: 3.469 MB / 489.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.3978, allocations: 238.1 kB / 489.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/0.3986, allocations: 327.8 kB / 490.2 MB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.4161, allocations: 9.94 MB / 0.4885 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/0.4163, allocations: 59.58 kB / 0.4885 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004529/0.4168, allocations: 155.9 kB / 0.4887 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003424/0.4202, allocations: 1.896 MB / 0.4905 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.4369, allocations: 8.46 MB / 0.4988 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.4845, allocations: 35.35 MB / 0.5333 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2494/0.7339, allocations: 3.362 MB / 0.5366 GB, free: 100.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.7365, allocations: 2.046 MB / 0.5386 GB, free: 99.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/0.737, allocations: 209.8 kB / 0.5388 GB, free: 99.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.7371, allocations: 54.47 kB / 0.5388 GB, free: 99.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.609e-06/0.7371, allocations: 0 / 0.5388 GB, free: 99.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05601/0.7931, allocations: 22.49 MB / 0.5608 GB, free: 86.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.7932, allocations: 256.4 kB / 0.561 GB, free: 86.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/0.7974, allocations: 3.938 MB / 0.5649 GB, free: 82.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004137/0.7979, allocations: 57.7 kB / 0.5649 GB, free: 82.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.7993, allocations: 3.233 MB / 0.5681 GB, free: 79.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/0.8001, allocations: 0.7936 MB / 0.5689 GB, free: 78.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.8015, allocations: 1.262 MB / 0.5701 GB, free: 77.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.8015, allocations: 301.1 kB / 0.5704 GB, free: 77.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/0.8044, allocations: 2.495 MB / 0.5728 GB, free: 74.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.8084, allocations: 6.081 MB / 0.5788 GB, free: 66.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007236/0.8156, allocations: 9.058 MB / 0.5876 GB, free: 56.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.514e-05/0.8157, allocations: 40 kB / 0.5876 GB, free: 56.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01695/0.8326, allocations: 10.51 MB / 0.5979 GB, free: 45.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.8327, allocations: 56 kB / 0.598 GB, free: 45.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.815e-05/0.8328, allocations: 120 kB / 0.5981 GB, free: 45.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006635/0.8394, allocations: 2.593 MB / 0.6006 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/0.8431, allocations: 1.31 MB / 0.6019 GB, free: 41.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.8633, allocations: 18.05 MB / 0.6195 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/0.8682, allocations: 379.4 kB / 0.6199 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009333/0.8691, allocations: 366.6 kB / 0.6202 GB, free: 22.35 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 (709): * Single equations (assignments): 703 * 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,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003908/0.873, allocations: 2.133 MB / 0.6223 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009024/0.874, allocations: 353.7 kB / 0.6226 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008382/0.8823, allocations: 4.964 MB / 0.6275 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.8824, allocations: 24 kB / 0.6275 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.8824, allocations: 8 kB / 0.6275 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/0.8824, allocations: 11.95 kB / 0.6275 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.8988, allocations: 9.407 MB / 0.6367 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.8989, allocations: 7.938 kB / 0.6367 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.9002, allocations: 287.6 kB / 0.637 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004808/0.905, allocations: 1.846 MB / 0.6388 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.9052, allocations: 31.98 kB / 0.6388 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.92, allocations: 10.16 MB / 0.6488 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.9201, allocations: 3.984 kB / 0.6488 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.9357, allocations: 8.127 MB / 0.6567 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.937, allocations: 329.5 kB / 0.657 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008691/0.9378, allocations: 32 kB / 0.657 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/0.9401, allocations: 135.8 kB / 0.6572 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.9406, allocations: 129 kB / 0.6573 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.9408, allocations: 48 kB / 0.6573 GB, free: 160 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004667/0.9454, allocations: 2.312 MB / 0.6596 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9454, allocations: 0 / 0.6596 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006303/0.9517, allocations: 1.148 MB / 0.6607 GB, free: 12.71 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 (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 {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007449/0.9525, allocations: 178.7 kB / 0.6609 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01271/0.9652, allocations: 6.24 MB / 0.667 GB, free: 6.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.9652, allocations: 0.75 kB / 0.667 GB, free: 6.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004068/0.9693, allocations: 1.999 MB / 0.6689 GB, free: 4.262 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/0.9734, allocations: 0.5006 MB / 0.6694 GB, free: 3.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/0.9993, allocations: 10.48 MB / 0.6797 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004543/1.004, allocations: 2.862 MB / 0.6825 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004587/1.008, allocations: 1.839 MB / 0.6843 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/1.009, allocations: 231.4 kB / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/1.009, allocations: 0 / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of Templates: time 0.301/1.31, allocations: 50.06 MB / 0.7334 GB, free: 178.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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: 7.118250723928213]