Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 200 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007177/0.0007177, allocations: 90.42 kB / 299.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003399, allocations: 8 kB / 360.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.282, allocations: 51.41 MB / 412 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002062/0.2841, allocations: 1.953 MB / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2854, allocations: 0.9068 MB / 414.9 MB, free: 22.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2855, allocations: 4.5 kB / 414.9 MB, free: 22.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.2858, allocations: 43.7 kB / 415 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.286, allocations: 42.22 kB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.2866, allocations: 149 kB / 415.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.2869, allocations: 359.3 kB / 415.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.2871, allocations: 87.23 kB / 415.6 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2873, allocations: 139.5 kB / 415.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2875, allocations: 155.3 kB / 415.9 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.2875, allocations: 16 kB / 415.9 MB, free: 22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.2876, allocations: 16 kB / 415.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.803e-05/0.2877, allocations: 71.8 kB / 416 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2878, allocations: 152.9 kB / 416.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.288, allocations: 300.4 kB / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2881, allocations: 0 / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2881, allocations: 0 / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2881, allocations: 0 / 416.4 MB, free: 21.46 MB / 298.7 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.0009304/0.289, allocations: 0.5695 MB / 417 MB, free: 20.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2891, allocations: 12.02 kB / 417 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.2891, allocations: 40.56 kB / 417 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2894, allocations: 271.2 kB / 417.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.2896, allocations: 146.2 kB / 417.4 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.2896, allocations: 28.38 kB / 417.5 MB, free: 20.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.2906, allocations: 0.557 MB / 418 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2906, allocations: 3.906 kB / 418 MB, free: 19.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2906, allocations: 15.94 kB / 418 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2907, allocations: 8 kB / 418 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2918, allocations: 0.5308 MB / 418.6 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.293, allocations: 1.018 MB / 419.6 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.2944, allocations: 0.5219 MB / 420.1 MB, free: 17.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.2949, allocations: 271.4 kB / 420.4 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.2949, allocations: 12 kB / 420.4 MB, free: 17.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.295, allocations: 38.56 kB / 420.4 MB, free: 17.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.295, allocations: 0 / 420.4 MB, free: 17.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.03287/0.3278, allocations: 6.742 MB / 427.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.3279, allocations: 156.9 kB / 427.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3281, allocations: 187.1 kB / 427.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.3282, allocations: 37.7 kB / 427.5 MB, free: 10 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.3283, allocations: 141.5 kB / 427.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3284, allocations: 197.3 kB / 427.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.3285, allocations: 19.94 kB / 427.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.3285, allocations: 339.2 kB / 428.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3298, allocations: 0.6539 MB / 428.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.3311, allocations: 0.8277 MB / 429.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.3335, allocations: 1.326 MB / 431 MB, free: 6.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3335, allocations: 3.938 kB / 431 MB, free: 6.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002839/0.3364, allocations: 1.472 MB / 432.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3364, allocations: 4 kB / 432.5 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3364, allocations: 8 kB / 432.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.3365, allocations: 8 kB / 432.5 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3377, allocations: 231.7 kB / 432.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.3377, allocations: 15.92 kB / 432.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.3385, allocations: 123.7 kB / 432.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.3386, allocations: 27.98 kB / 432.9 MB, free: 4.453 MB / 298.7 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.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 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.0002893/0.3389, allocations: 192.2 kB / 433.1 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.3392, allocations: 145.2 kB / 433.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3393, allocations: 63.3 kB / 433.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3393, allocations: 8 kB / 433.3 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3393, allocations: 0 / 433.3 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3393, allocations: 7.984 kB / 433.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.3432, allocations: 2.289 MB / 435.6 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.3432, allocations: 12 kB / 435.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.3439, allocations: 203.8 kB / 435.8 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.3439, allocations: 16 kB / 435.8 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.3439, allocations: 27.98 kB / 435.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.344, allocations: 19.94 kB / 435.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.344, allocations: 15.94 kB / 435.9 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3469, allocations: 1.674 MB / 437.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.3471, allocations: 156.7 kB / 437.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.3472, allocations: 27.98 kB / 437.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.3477, allocations: 95.98 kB / 437.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.348, allocations: 91.84 kB / 437.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.348, allocations: 36 kB / 438 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3482, allocations: 147.1 kB / 438.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3482, allocations: 0 / 438.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.3488, allocations: 124 kB / 438.2 MB, free: 14.76 MB / 314.7 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.0002373/0.349, allocations: 154.1 kB / 438.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.3516, allocations: 1.186 MB / 439.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3516, allocations: 1.375 kB / 439.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.3525, allocations: 373.9 kB / 439.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.3535, allocations: 148.1 kB / 440.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3558, allocations: 1.361 MB / 441.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3562, allocations: 0.8132 MB / 442.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006016/0.3568, allocations: 91.36 kB / 442.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.3571, allocations: 35.44 kB / 442.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3571, allocations: 0 / 442.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01217/0.3693, allocations: 7.454 MB / 449.8 MB, free: 2.961 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches