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.001426/0.001426, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001549, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.791/1.791, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2957, allocations: 50.53 MB / 409.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003709/0.2994, allocations: 2.345 MB / 412.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3009, allocations: 0.8066 MB / 413 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.3011, allocations: 7.938 kB / 413.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.3014, allocations: 47.58 kB / 413.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.3016, allocations: 55.56 kB / 413.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.3021, allocations: 163.7 kB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.3025, allocations: 379.6 kB / 413.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.3027, allocations: 91.38 kB / 413.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.303, allocations: 163.5 kB / 413.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3033, allocations: 179.2 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.3033, allocations: 32 kB / 414.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.3034, allocations: 32 kB / 414.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3035, allocations: 91.78 kB / 414.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3037, allocations: 147.2 kB / 414.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.304, allocations: 320.1 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.304, allocations: 8 kB / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.304, allocations: 0 / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.304, allocations: 0 / 414.7 MB, free: 12.94 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.001186/0.3052, allocations: 0.6123 MB / 415.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3053, allocations: 8.031 kB / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.3054, allocations: 36.66 kB / 415.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.3058, allocations: 268.3 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.306, allocations: 138.2 kB / 415.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.3061, allocations: 40.27 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3072, allocations: 0.5367 MB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3073, allocations: 4 kB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3073, allocations: 8 kB / 416.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3073, allocations: 11.98 kB / 416.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3087, allocations: 0.5113 MB / 416.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3103, allocations: 1.01 MB / 417.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3119, allocations: 0.5065 MB / 418.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.3126, allocations: 270.6 kB / 418.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.3126, allocations: 8 kB / 418.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3127, allocations: 50.48 kB / 418.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.794e-06/0.3127, allocations: 0 / 418.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03982/0.3525, allocations: 5.707 MB / 424.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.3527, allocations: 144.9 kB / 424.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3529, allocations: 198.6 kB / 424.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.353, allocations: 37.7 kB / 424.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3531, allocations: 145.5 kB / 424.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.3534, allocations: 193.3 kB / 425.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.3537, allocations: 106.7 kB / 425.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3539, allocations: 342.8 kB / 425.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.3555, allocations: 0.6149 MB / 426.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.3573, allocations: 0.8041 MB / 427 MB, free: 256 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.3606, allocations: 1.247 MB / 428.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.3607, allocations: 7.938 kB / 428.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003971/0.3646, allocations: 1.39 MB / 429.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.3647, allocations: 11.98 kB / 429.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.3647, allocations: 8 kB / 429.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.3648, allocations: 8 kB / 429.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.3662, allocations: 207.7 kB / 429.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.3662, allocations: 11.94 kB / 429.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3673, allocations: 107.7 kB / 430 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.3674, allocations: 24 kB / 430 MB, free: 13.15 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.0003764/0.3678, allocations: 189.5 kB / 430.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/0.3681, allocations: 161.4 kB / 430.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.3683, allocations: 59.55 kB / 430.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.3684, allocations: 11.98 kB / 430.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3684, allocations: 0 / 430.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3684, allocations: 8.078 kB / 430.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.3736, allocations: 2.171 MB / 432.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/0.3736, allocations: 8 kB / 432.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.3745, allocations: 188.5 kB / 432.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-05/0.3745, allocations: 12 kB / 432.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.3746, allocations: 24 kB / 432.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.44e-05/0.3746, allocations: 19.88 kB / 432.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.3746, allocations: 15.94 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.3781, allocations: 1.553 MB / 434.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.3784, allocations: 156.6 kB / 434.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.3785, allocations: 27.98 kB / 434.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/0.3791, allocations: 75.92 kB / 434.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.3794, allocations: 95.72 kB / 434.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.3794, allocations: 40 kB / 434.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3796, allocations: 148.2 kB / 434.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.364e-06/0.3796, allocations: 0 / 434.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007659/0.3804, allocations: 123.9 kB / 435.1 MB, free: 7.715 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.0002025/0.3806, allocations: 135 kB / 435.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.3837, allocations: 1.135 MB / 436.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.3838, allocations: 5.375 kB / 436.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.3848, allocations: 337.9 kB / 436.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/0.3858, allocations: 133.3 kB / 436.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.3885, allocations: 1.21 MB / 438 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3891, allocations: 0.809 MB / 438.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.3894, allocations: 47.42 kB / 438.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3894, allocations: 0 / 438.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of Templates: time 0.01287/0.4023, allocations: 7.208 MB / 446.1 MB, free: 12.52 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