Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.00131/0.00131, 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.001346/0.001346, allocations: 206.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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2553, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003902/0.2592, allocations: 2.242 MB / 433.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2607, allocations: 0.7677 MB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.2609, allocations: 7.938 kB / 434.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.2611, allocations: 51.56 kB / 434.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.2614, allocations: 63.56 kB / 434.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.262, allocations: 171.6 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.2625, allocations: 375.5 kB / 435.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2627, allocations: 75.58 kB / 435.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2631, allocations: 167.5 kB / 435.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2633, allocations: 159.4 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.2634, allocations: 36 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.2634, allocations: 35.94 kB / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2636, allocations: 99.72 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2637, allocations: 123.4 kB / 436 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.2641, allocations: 333 kB / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2641, allocations: 0 / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2641, allocations: 0 / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2641, allocations: 0 / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001246/0.2654, allocations: 0.5483 MB / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2654, allocations: 11.98 kB / 436.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.2655, allocations: 36.75 kB / 436.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.2658, allocations: 213.6 kB / 437.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.2662, allocations: 347.9 kB / 437.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.2662, allocations: 32.33 kB / 437.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.2675, allocations: 0.5544 MB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.2675, allocations: 0 / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.2675, allocations: 8 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2675, allocations: 11.94 kB / 438 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.269, allocations: 0.5191 MB / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2705, allocations: 0.8444 MB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.272, allocations: 470.6 kB / 439.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/0.2727, allocations: 235.4 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.2727, allocations: 11.98 kB / 440.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2728, allocations: 42.5 kB / 440.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.653e-06/0.2728, allocations: 0 / 440.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.03928/0.3121, allocations: 5.742 MB / 445.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3122, allocations: 152.9 kB / 446 MB, free: 7.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3124, allocations: 206.6 kB / 446.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.3125, allocations: 41.7 kB / 446.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3126, allocations: 141.8 kB / 446.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.3129, allocations: 210.2 kB / 446.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.3132, allocations: 110.7 kB / 446.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3133, allocations: 338.8 kB / 447.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.315, allocations: 0.6227 MB / 447.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.3168, allocations: 0.8042 MB / 448.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.32, allocations: 1.256 MB / 449.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.32, allocations: 0 / 449.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003729/0.3237, allocations: 1.415 MB / 451.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3237, allocations: 8 kB / 451.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3237, allocations: 4 kB / 451.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.3238, allocations: 12 kB / 451.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.3251, allocations: 207.7 kB / 451.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.3251, allocations: 19.86 kB / 451.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.3261, allocations: 103.8 kB / 451.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.3261, allocations: 31.98 kB / 451.5 MB, free: 2.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.3265, allocations: 174.7 kB / 451.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.3268, allocations: 153.7 kB / 451.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.327, allocations: 63.3 kB / 451.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.327, allocations: 8 kB / 451.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.327, allocations: 11.94 kB / 451.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.327, allocations: 3.984 kB / 451.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.3319, allocations: 1.906 MB / 453.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.3319, allocations: 12.23 kB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.3327, allocations: 179.7 kB / 454 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.329e-05/0.3327, allocations: 16.47 kB / 454.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/0.3327, allocations: 31.94 kB / 454.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/0.3328, allocations: 27.86 kB / 454.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.3328, allocations: 23.86 kB / 454.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.3364, allocations: 1.569 MB / 455.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.3366, allocations: 79.75 kB / 455.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.3367, allocations: 31.92 kB / 455.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.3373, allocations: 87.97 kB / 455.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.3375, allocations: 95.64 kB / 456 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.3375, allocations: 28 kB / 456 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3377, allocations: 152.3 kB / 456.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 3.938 kB / 456.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006904/0.3384, allocations: 124 kB / 456.3 MB, free: 13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.3386, allocations: 139.2 kB / 456.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.3415, allocations: 1.05 MB / 457.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3415, allocations: 0 / 457.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3426, allocations: 342 kB / 457.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.3435, allocations: 127.9 kB / 457.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.346, allocations: 1.17 MB / 459.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3462, allocations: 211.3 kB / 459.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004865/0.3467, allocations: 99.31 kB / 459.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.347, allocations: 39.42 kB / 459.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.347, allocations: 0 / 459.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of Templates: time 0.0155/0.3625, allocations: 9.15 MB / 468.6 MB, free: 0.5703 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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: 4.8685684613883495]