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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009365/0.0009365, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8974/0.8974, allocations: 177 MB / 204.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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=8007,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=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.593e-05/4.893e-05, allocations: 6.312 kB / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002919/0.002968, allocations: 2.345 MB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.004118, allocations: 0.7987 MB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.004248, allocations: 7.938 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.004534, allocations: 43.64 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.004714, allocations: 75.36 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.005067, allocations: 171.5 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.005355, allocations: 375.5 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.005515, allocations: 67.84 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.005803, allocations: 227.5 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.005967, allocations: 147.6 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.006013, allocations: 32 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.006046, allocations: 40 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.006132, allocations: 95.7 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.006211, allocations: 103.7 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.006468, allocations: 255.1 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006471, allocations: 0 / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006472, allocations: 0 / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.006479, allocations: 3.938 kB / 277.6 MB, free: 12.73 MB / 266.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.0007755/0.007254, allocations: 0.6287 MB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.00729, allocations: 11.98 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.007375, allocations: 68.75 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.007621, allocations: 208.6 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.007802, allocations: 347.9 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.007847, allocations: 32.33 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.008447, allocations: 450.6 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.008464, allocations: 11.88 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.008487, allocations: 12 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.008498, allocations: 4 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.00887, allocations: 248.5 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.009746, allocations: 0.9251 MB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.01033, allocations: 347.4 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.0105, allocations: 150.7 kB / 281 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.01054, allocations: 12 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.01056, allocations: 41.39 kB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.01056, allocations: 0 / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.006602/0.01717, allocations: 2.624 MB / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.01724, allocations: 145 kB / 283.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.0174, allocations: 237.8 kB / 284.1 MB, free: 5.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.01745, allocations: 37.7 kB / 284.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01755, allocations: 196.5 kB / 284.3 MB, free: 5.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.01767, allocations: 194.3 kB / 284.5 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.01784, allocations: 96 kB / 284.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.01796, allocations: 0.5156 MB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.01835, allocations: 321.2 kB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.01878, allocations: 428.1 kB / 285.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.01951, allocations: 0.6474 MB / 286.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01951, allocations: 0 / 286.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009905/0.0205, allocations: 0.7823 MB / 287.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.02052, allocations: 4 kB / 287.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.02053, allocations: 4.312 kB / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.02055, allocations: 4 kB / 287.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.02113, allocations: 168 kB / 287.5 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.02114, allocations: 4 kB / 287.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.02149, allocations: 67.92 kB / 287.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.02153, allocations: 23.97 kB / 287.5 MB, free: 2.344 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,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 (67): * Single equations (assignments): 67 * 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.0001824/0.02171, allocations: 196.7 kB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.02194, allocations: 165.3 kB / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.02202, allocations: 63.3 kB / 288 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.02202, allocations: 12 kB / 288 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.02203, allocations: 11.94 kB / 288 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02204, allocations: 3.984 kB / 288 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.02386, allocations: 1.504 MB / 289.5 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.02386, allocations: 8.188 kB / 289.5 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.02423, allocations: 171.8 kB / 289.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.02424, allocations: 12 kB / 289.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.02427, allocations: 27.94 kB / 289.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.02428, allocations: 19.94 kB / 289.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.02429, allocations: 15.94 kB / 289.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.02527, allocations: 1.232 MB / 291 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.02543, allocations: 91.64 kB / 291.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.02548, allocations: 27.98 kB / 291.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.02573, allocations: 59.94 kB / 291.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.02587, allocations: 91.58 kB / 291.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.0259, allocations: 32 kB / 291.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.856e-05/0.02598, allocations: 168.2 kB / 291.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02598, allocations: 0 / 291.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.02636, allocations: 120 kB / 291.6 MB, free: 13.9 MB / 282.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: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.0001399/0.0265, allocations: 135 kB / 291.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007631/0.02726, allocations: 0.586 MB / 292.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02726, allocations: 0 / 292.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.02746, allocations: 162.7 kB / 292.4 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.02805, allocations: 151.5 kB / 292.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.02951, allocations: 1.119 MB / 293.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.814e-05/0.0296, allocations: 130.7 kB / 293.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.02986, allocations: 91.17 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.03006, allocations: 40.5 kB / 294 MB, free: 11.25 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03006, allocations: 0 / 294 MB, free: 11.25 MB / 282.7 MB Notification: Performance of Templates: time 0.009461/0.03952, allocations: 8.722 MB / 302.7 MB, free: 2.59 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.141606512013823]