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.001127/0.001127, allocations: 97.25 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002222, allocations: 7.984 kB / 308.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09338, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002676/0.0961, allocations: 2.004 MB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.0977, allocations: 0.7912 MB / 362.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.09795, allocations: 7.938 kB / 362.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.09825, allocations: 43.77 kB / 362.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.09851, allocations: 43.73 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.09907, allocations: 147.7 kB / 362.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.09954, allocations: 355.5 kB / 363.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.09977, allocations: 91.23 kB / 363.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.1001, allocations: 135.5 kB / 363.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1004, allocations: 155.3 kB / 363.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.1005, allocations: 16 kB / 363.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.1006, allocations: 16 kB / 363.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1007, allocations: 75.73 kB / 363.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1008, allocations: 153 kB / 363.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1011, allocations: 227.6 kB / 364.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1011, allocations: 0 / 364.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1011, allocations: 0 / 364.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1011, allocations: 0 / 364.1 MB, free: 9.043 MB / 302.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.001226/0.1024, allocations: 0.5733 MB / 364.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1024, allocations: 12.03 kB / 364.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1025, allocations: 40.56 kB / 364.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1029, allocations: 275.8 kB / 365 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.1031, allocations: 142.2 kB / 365.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.1032, allocations: 32.38 kB / 365.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1044, allocations: 0.5686 MB / 365.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1045, allocations: 0 / 365.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.1045, allocations: 11.94 kB / 365.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.1045, allocations: 8 kB / 365.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.106, allocations: 0.5386 MB / 366.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1075, allocations: 1.014 MB / 367.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1092, allocations: 0.5133 MB / 367.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.1099, allocations: 279.4 kB / 368.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.1099, allocations: 4 kB / 368.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1099, allocations: 42.5 kB / 368.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/0.11, allocations: 4 kB / 368.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.244/0.354, allocations: 6.744 MB / 374.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3541, allocations: 151.7 kB / 375.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3544, allocations: 193.6 kB / 375.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.3545, allocations: 37.98 kB / 375.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3547, allocations: 137.2 kB / 375.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.3549, allocations: 192.1 kB / 375.6 MB, free: 19.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.355, allocations: 58.09 kB / 375.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3552, allocations: 346.9 kB / 376 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.3571, allocations: 0.6549 MB / 376.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.359, allocations: 0.8359 MB / 377.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/0.3624, allocations: 1.319 MB / 378.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.3624, allocations: 6.688 kB / 378.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.004186/0.3666, allocations: 1.476 MB / 380.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.3667, allocations: 6.844 kB / 380.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.3667, allocations: 6.094 kB / 380.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/0.3668, allocations: 9.688 kB / 380.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.3683, allocations: 233.6 kB / 380.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.3683, allocations: 11.83 kB / 380.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3694, allocations: 121.3 kB / 380.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.3695, allocations: 32.39 kB / 380.7 MB, free: 17.35 MB / 302.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.0003686/0.3699, allocations: 195.5 kB / 380.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.3702, allocations: 151.2 kB / 381 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.3704, allocations: 64.17 kB / 381.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3704, allocations: 7.594 kB / 381.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.3705, allocations: 1.906 kB / 381.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.3705, allocations: 5.344 kB / 381.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.3759, allocations: 2.292 MB / 383.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.376, allocations: 9.25 kB / 383.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/0.3768, allocations: 204.9 kB / 383.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.3769, allocations: 13.16 kB / 383.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.3769, allocations: 24.61 kB / 383.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/0.377, allocations: 21.77 kB / 383.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.377, allocations: 22.77 kB / 383.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.3806, allocations: 1.674 MB / 385.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.3809, allocations: 161.1 kB / 385.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.381, allocations: 34.47 kB / 385.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.3817, allocations: 95.81 kB / 385.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.3819, allocations: 99.06 kB / 385.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.382, allocations: 33.86 kB / 385.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3822, allocations: 141.2 kB / 385.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3822, allocations: 0 / 385.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008157/0.383, allocations: 122.1 kB / 386.1 MB, free: 14.56 MB / 302.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.0002621/0.3833, allocations: 137.9 kB / 386.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.3869, allocations: 1.191 MB / 387.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.3869, allocations: 1.031 kB / 387.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.3882, allocations: 379.9 kB / 387.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.3894, allocations: 146.8 kB / 387.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.3921, allocations: 1.395 MB / 389.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.3926, allocations: 0.8101 MB / 390.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.393, allocations: 40.16 kB / 390.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.623e-06/0.393, allocations: 1.625 kB / 390.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Templates: time 0.0124/0.4055, allocations: 7.085 MB / 397.2 MB, free: 8.051 MB / 302.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