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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3595, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003936/0.3635, allocations: 2.327 MB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.365, allocations: 0.8066 MB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3651, allocations: 4 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.3655, allocations: 55.58 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3657, allocations: 55.56 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.3662, allocations: 159.7 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.3666, allocations: 383.4 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.3668, allocations: 95.36 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.3671, allocations: 167.5 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3674, allocations: 175.3 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.3674, allocations: 32 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.3675, allocations: 32 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3676, allocations: 99.7 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3677, allocations: 139.3 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.3681, allocations: 328 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3681, allocations: 0 / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3681, allocations: 0 / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3681, allocations: 4 kB / 414.7 MB, free: 12.71 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.001231/0.3694, allocations: 0.6045 MB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3694, allocations: 8.031 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.3695, allocations: 32.66 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.37, allocations: 276.3 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.3702, allocations: 138.2 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.3702, allocations: 28.28 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3713, allocations: 0.5486 MB / 416.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3714, allocations: 0 / 416.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.3714, allocations: 12 kB / 416.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3714, allocations: 8 kB / 416.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3727, allocations: 0.5112 MB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.3742, allocations: 1.01 MB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.3756, allocations: 0.5063 MB / 418.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.3762, allocations: 263.3 kB / 418.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.3763, allocations: 4 kB / 418.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3763, allocations: 38.56 kB / 418.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.3763, allocations: 4 kB / 418.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03778/0.4141, allocations: 5.716 MB / 424.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4143, allocations: 149.3 kB / 424.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.4145, allocations: 194.6 kB / 424.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.4146, allocations: 41.64 kB / 424.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4147, allocations: 141.5 kB / 424.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.4149, allocations: 189.3 kB / 425.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.4153, allocations: 114.7 kB / 425.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4154, allocations: 350.7 kB / 425.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4169, allocations: 0.6148 MB / 426.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.4185, allocations: 0.7964 MB / 427 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.4213, allocations: 1.247 MB / 428.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4213, allocations: 4 kB / 428.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003328/0.4246, allocations: 1.398 MB / 429.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4247, allocations: 8 kB / 429.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.4247, allocations: 8 kB / 429.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4247, allocations: 8 kB / 429.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.4261, allocations: 211.6 kB / 429.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.4261, allocations: 11.98 kB / 429.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.427, allocations: 103.8 kB / 430 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.4271, allocations: 31.98 kB / 430 MB, free: 12.93 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: 2 (kinematicPTP.noWphase,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 (83): * Single equations (assignments): 83 * 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.0003258/0.4274, allocations: 185.5 kB / 430.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.4278, allocations: 157.1 kB / 430.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.4279, allocations: 63.3 kB / 430.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4279, allocations: 8 kB / 430.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.428, allocations: 4 kB / 430.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.428, allocations: 7.984 kB / 430.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.4325, allocations: 2.164 MB / 432.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.4325, allocations: 8 kB / 432.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.4332, allocations: 179.9 kB / 432.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/0.4333, allocations: 16.47 kB / 432.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.4333, allocations: 31.98 kB / 432.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/0.4333, allocations: 15.94 kB / 432.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/0.4334, allocations: 15.94 kB / 432.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.4363, allocations: 1.561 MB / 434.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.4365, allocations: 160.7 kB / 434.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.4366, allocations: 31.98 kB / 434.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.4372, allocations: 71.92 kB / 434.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.4374, allocations: 95.66 kB / 434.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.4375, allocations: 32 kB / 434.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.4376, allocations: 148.2 kB / 434.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4376, allocations: 4 kB / 435 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006839/0.4383, allocations: 120 kB / 435.1 MB, free: 7.504 MB / 350.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: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0001838/0.4385, allocations: 135 kB / 435.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.4411, allocations: 1.131 MB / 436.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4412, allocations: 3.938 kB / 436.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000914/0.4421, allocations: 342.4 kB / 436.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.443, allocations: 139.1 kB / 436.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.4454, allocations: 1.202 MB / 438 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.4458, allocations: 0.8129 MB / 438.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.4461, allocations: 39.44 kB / 438.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4461, allocations: 0 / 438.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of Templates: time 0.01132/0.4574, allocations: 7.172 MB / 446 MB, free: 12.35 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches