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.001374/0.001374, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 214.4 kB / 18.59 MB, free: 4.402 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 / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 60.77 kB / 307 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1057, allocations: 50.55 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003992/0.1098, allocations: 2.313 MB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1113, allocations: 0.8066 MB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1114, allocations: 7.938 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1117, allocations: 51.58 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.1119, allocations: 59.55 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1124, allocations: 167.7 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.1128, allocations: 375.5 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1131, allocations: 95.38 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.1134, allocations: 163.4 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1136, allocations: 175.3 kB / 361.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.1137, allocations: 32 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.1138, allocations: 36 kB / 361.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1139, allocations: 99.7 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.114, allocations: 139.3 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1144, allocations: 319.2 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1144, allocations: 0 / 362.3 MB, free: 9.227 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.001208/0.1157, allocations: 0.6162 MB / 362.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1157, allocations: 12.03 kB / 363 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.1158, allocations: 36.56 kB / 363 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1162, allocations: 272.3 kB / 363.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.1164, allocations: 130.2 kB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.1165, allocations: 32.36 kB / 363.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1177, allocations: 0.5443 MB / 364 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1177, allocations: 4 kB / 364 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.1178, allocations: 11.94 kB / 364 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1178, allocations: 12 kB / 364 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.1193, allocations: 0.5112 MB / 364.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.1209, allocations: 1.006 MB / 365.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.1225, allocations: 0.5048 MB / 366 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.1232, allocations: 271.2 kB / 366.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.1232, allocations: 4 kB / 366.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.1233, allocations: 46.55 kB / 366.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.683e-06/0.1233, allocations: 0 / 366.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.1949/0.3182, allocations: 5.709 MB / 372 MB, free: 20.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3184, allocations: 157.1 kB / 372.2 MB, free: 20.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3186, allocations: 196.4 kB / 372.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.3187, allocations: 38.42 kB / 372.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.3188, allocations: 140 kB / 372.6 MB, free: 20.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.319, allocations: 193.8 kB / 372.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.3193, allocations: 113 kB / 372.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.3193, allocations: 344.1 kB / 373.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.3209, allocations: 0.618 MB / 373.8 MB, free: 19.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.3226, allocations: 0.797 MB / 374.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002894/0.3255, allocations: 1.245 MB / 375.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3255, allocations: 4.469 kB / 375.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003319/0.3288, allocations: 1.388 MB / 377.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3288, allocations: 7.594 kB / 377.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3289, allocations: 6.438 kB / 377.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.3289, allocations: 15.19 kB / 377.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3302, allocations: 216.6 kB / 377.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.3302, allocations: 8.781 kB / 377.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.3311, allocations: 99.2 kB / 377.6 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.3312, allocations: 31.38 kB / 377.6 MB, free: 18 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.0002947/0.3315, allocations: 179.7 kB / 377.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.3318, allocations: 152.8 kB / 377.9 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.3319, allocations: 64.25 kB / 378 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3319, allocations: 9.781 kB / 378 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.3319, allocations: 5.625 kB / 378 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.332, allocations: 3.516 kB / 378 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.3364, allocations: 2.166 MB / 380.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.3364, allocations: 9.719 kB / 380.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.3371, allocations: 182.9 kB / 380.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.3372, allocations: 15.45 kB / 380.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.3372, allocations: 28.05 kB / 380.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.3372, allocations: 19.48 kB / 380.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.3372, allocations: 15.41 kB / 380.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.3402, allocations: 1.562 MB / 382 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3404, allocations: 160.3 kB / 382.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.3405, allocations: 29.7 kB / 382.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.3411, allocations: 78.81 kB / 382.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.3413, allocations: 93.14 kB / 382.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.3413, allocations: 34.47 kB / 382.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3415, allocations: 141.1 kB / 382.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3415, allocations: 5.188 kB / 382.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000684/0.3422, allocations: 121.9 kB / 382.7 MB, free: 15.26 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.0001628/0.3423, allocations: 141.3 kB / 382.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.3451, allocations: 1.149 MB / 384 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.3451, allocations: 2.406 kB / 384 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009272/0.346, allocations: 344.2 kB / 384.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.3469, allocations: 132.2 kB / 384.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3489, allocations: 1.155 MB / 385.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3492, allocations: 0.8171 MB / 386.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.3497, allocations: 99.39 kB / 386.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.35, allocations: 42.55 kB / 386.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.35, allocations: 0 / 386.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01193/0.3619, allocations: 8.146 MB / 394.7 MB, free: 9.438 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches