Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 120.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 215.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.381/1.381, allocations: 227.7 MB / 247.9 MB, free: 10.22 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2198, allocations: 50.54 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003503/0.2233, allocations: 2.338 MB / 412.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2246, allocations: 0.8027 MB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2247, allocations: 8 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.225, allocations: 51.58 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.2252, allocations: 59.55 kB / 413.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2256, allocations: 167.6 kB / 413.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.226, allocations: 367.6 kB / 414 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2261, allocations: 83.31 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2264, allocations: 167.4 kB / 414.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.2267, allocations: 171.3 kB / 414.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.2267, allocations: 32 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.2268, allocations: 32 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.2269, allocations: 95.72 kB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.227, allocations: 139.3 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.2273, allocations: 326.6 kB / 415 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2274, allocations: 4 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2274, allocations: 0 / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2274, allocations: 4 kB / 415 MB, free: 12.62 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.00116/0.2285, allocations: 0.6198 MB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2286, allocations: 11.97 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/0.2286, allocations: 40.75 kB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.229, allocations: 260.5 kB / 415.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.2292, allocations: 138.2 kB / 416.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.2293, allocations: 32.33 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.2304, allocations: 0.5501 MB / 416.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2304, allocations: 3.938 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.2305, allocations: 12 kB / 416.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2305, allocations: 11.98 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.2319, allocations: 0.5034 MB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2334, allocations: 1.006 MB / 418.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.235, allocations: 482.5 kB / 418.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.2356, allocations: 235.3 kB / 418.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.2357, allocations: 8 kB / 418.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2357, allocations: 42.56 kB / 418.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.2357, allocations: 0 / 418.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03805/0.2737, allocations: 5.734 MB / 424.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2739, allocations: 148.9 kB / 424.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.2741, allocations: 202.5 kB / 425 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.2741, allocations: 37.7 kB / 425 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.2742, allocations: 145.7 kB / 425.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.2744, allocations: 202.4 kB / 425.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.2747, allocations: 110.7 kB / 425.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2749, allocations: 342.8 kB / 425.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.2765, allocations: 0.611 MB / 426.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.2782, allocations: 0.8042 MB / 427.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.2813, allocations: 1.247 MB / 428.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2813, allocations: 4 kB / 428.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003579/0.2849, allocations: 1.394 MB / 429.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2849, allocations: 8 kB / 429.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.285, allocations: 8 kB / 429.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.285, allocations: 8 kB / 429.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.2863, allocations: 207.6 kB / 430.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.2863, allocations: 15.92 kB / 430.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.2872, allocations: 103.8 kB / 430.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.2873, allocations: 32 kB / 430.3 MB, free: 12.85 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.0002874/0.2876, allocations: 189.5 kB / 430.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.2879, allocations: 149.8 kB / 430.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.288, allocations: 59.53 kB / 430.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2881, allocations: 15.98 kB / 430.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2881, allocations: 0 / 430.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2881, allocations: 8.078 kB / 430.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.2928, allocations: 2.171 MB / 432.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.2928, allocations: 8 kB / 432.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.2936, allocations: 184.3 kB / 433 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.2936, allocations: 20 kB / 433.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2936, allocations: 24 kB / 433.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.2937, allocations: 23.86 kB / 433.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.2937, allocations: 15.94 kB / 433.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.2969, allocations: 1.561 MB / 434.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2971, allocations: 156.8 kB / 434.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.2971, allocations: 27.98 kB / 434.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.2978, allocations: 75.92 kB / 434.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.2979, allocations: 91.73 kB / 435 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.298, allocations: 35.98 kB / 435.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2981, allocations: 152.2 kB / 435.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2981, allocations: 0 / 435.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006158/0.2987, allocations: 116 kB / 435.3 MB, free: 7.422 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.0001681/0.2989, allocations: 142.9 kB / 435.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.3017, allocations: 1.033 MB / 436.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3017, allocations: 0 / 436.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3028, allocations: 335.2 kB / 436.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/0.3036, allocations: 124.5 kB / 436.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.3059, allocations: 1.169 MB / 438.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.3064, allocations: 0.8129 MB / 438.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.3068, allocations: 95.3 kB / 439 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.3071, allocations: 35.44 kB / 439 MB, free: 3.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3071, allocations: 0 / 439 MB, free: 3.488 MB / 350.1 MB Notification: Performance of Templates: time 0.01355/0.3207, allocations: 8.308 MB / 447.4 MB, free: 11.19 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches