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.001998/0.001998, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002575/0.002575, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.002144/0.002144, allocations: 71.88 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2363, allocations: 53.4 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004154/0.2405, allocations: 2.242 MB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2421, allocations: 0.7677 MB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2423, allocations: 7.938 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2425, allocations: 47.58 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.2428, allocations: 63.56 kB / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.2434, allocations: 167.6 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.2438, allocations: 383.5 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2439, allocations: 63.61 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.2442, allocations: 171.4 kB / 436.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2445, allocations: 159.4 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.2445, allocations: 35.94 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.2446, allocations: 36 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.2447, allocations: 103.7 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2448, allocations: 115.4 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.2452, allocations: 337.4 kB / 437 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2452, allocations: 0 / 437 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2452, allocations: 0 / 437 MB, free: 1.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2452, allocations: 4 kB / 437 MB, free: 1.855 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.001195/0.2464, allocations: 0.5405 MB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2465, allocations: 15.98 kB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.2465, allocations: 40.75 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2469, allocations: 214.5 kB / 437.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/0.2472, allocations: 343.9 kB / 438.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.2473, allocations: 36.33 kB / 438.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2485, allocations: 0.5505 MB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.2485, allocations: 4 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2486, allocations: 8 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2486, allocations: 8 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.25, allocations: 0.5113 MB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.2515, allocations: 0.8522 MB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.2531, allocations: 470.5 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.2538, allocations: 239.2 kB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.2538, allocations: 11.94 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.2538, allocations: 38.56 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.2538, allocations: 0 / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.03833/0.2922, allocations: 5.743 MB / 446.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.2923, allocations: 152.9 kB / 446.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.2926, allocations: 210.6 kB / 447 MB, free: 7.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/0.2926, allocations: 38.08 kB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.2927, allocations: 137.8 kB / 447.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.293, allocations: 206.3 kB / 447.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.2932, allocations: 110.7 kB / 447.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2934, allocations: 346.7 kB / 447.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.2951, allocations: 0.6227 MB / 448.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.2969, allocations: 0.8042 MB / 449.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.3002, allocations: 1.256 MB / 450.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3002, allocations: 8 kB / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003732/0.304, allocations: 1.407 MB / 451.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.304, allocations: 10.5 kB / 451.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.304, allocations: 4 kB / 451.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.304, allocations: 8 kB / 451.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.3054, allocations: 219.6 kB / 452.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.3054, allocations: 11.97 kB / 452.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.3063, allocations: 99.78 kB / 452.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.3064, allocations: 35.98 kB / 452.3 MB, free: 2.102 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.0003173/0.3068, allocations: 178.3 kB / 452.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.3071, allocations: 153.7 kB / 452.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.3072, allocations: 59.31 kB / 452.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3072, allocations: 8 kB / 452.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.3073, allocations: 7.938 kB / 452.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3073, allocations: 7.984 kB / 452.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.3122, allocations: 1.91 MB / 454.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.3123, allocations: 12 kB / 454.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.313, allocations: 179.7 kB / 454.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-05/0.313, allocations: 16.53 kB / 454.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.3131, allocations: 31.92 kB / 454.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.972e-05/0.3131, allocations: 23.95 kB / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.3131, allocations: 19.92 kB / 454.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.3166, allocations: 1.577 MB / 456.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.3168, allocations: 83.73 kB / 456.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.079e-05/0.3169, allocations: 31.94 kB / 456.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.3175, allocations: 83.95 kB / 456.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.3177, allocations: 99.64 kB / 456.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.3177, allocations: 32 kB / 456.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3179, allocations: 148.3 kB / 456.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3179, allocations: 0 / 456.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006772/0.3186, allocations: 124 kB / 457.1 MB, free: 13.01 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.0001791/0.3187, allocations: 142.9 kB / 457.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.3217, allocations: 1.042 MB / 458.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3217, allocations: 0 / 458.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.3228, allocations: 338.2 kB / 458.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.3236, allocations: 123.9 kB / 458.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.3261, allocations: 1.21 MB / 459.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3264, allocations: 203.3 kB / 460.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.3267, allocations: 51.42 kB / 460.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3267, allocations: 0 / 460.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of Templates: time 0.01164/0.3384, allocations: 7.325 MB / 467.5 MB, free: 2.41 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/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: 7.529280658811331]