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.001039/0.001039, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002497, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001046/0.001046, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008696/0.001916, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.969/0.969, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08213/1.051, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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 1.293e-06/1.293e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.955e-05, allocations: 6.25 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002488/0.002507, allocations: 2.384 MB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.003487, allocations: 0.8139 MB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.0036, allocations: 7.938 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.003784, allocations: 47.62 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.003921, allocations: 59.5 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.004242, allocations: 175.5 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.004521, allocations: 371.6 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.00466, allocations: 74.41 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.00494, allocations: 243.5 kB / 249.2 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.005101, allocations: 143.6 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.005141, allocations: 32 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.32e-05/0.005174, allocations: 36 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.00525, allocations: 75.8 kB / 249.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.005319, allocations: 79.8 kB / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.005549, allocations: 215.2 kB / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.00556, allocations: 0 / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00556, allocations: 4 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.005575, allocations: 0 / 249.7 MB, free: 8.914 MB / 250.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.0007066/0.006281, allocations: 0.5583 MB / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.006311, allocations: 8.031 kB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.006377, allocations: 60.89 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.006592, allocations: 181.8 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.006761, allocations: 339.9 kB / 250.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.006799, allocations: 36.33 kB / 250.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.00745, allocations: 409.7 kB / 251.3 MB, free: 7.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.007465, allocations: 3.938 kB / 251.3 MB, free: 7.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.007488, allocations: 19.94 kB / 251.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007496, allocations: 8 kB / 251.3 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.007752, allocations: 181.7 kB / 251.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.008444, allocations: 0.6353 MB / 252.1 MB, free: 6.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.008884, allocations: 322.7 kB / 252.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.008994, allocations: 111.5 kB / 252.6 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.00903, allocations: 8 kB / 252.6 MB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.009054, allocations: 50.84 kB / 252.6 MB, free: 5.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.009056, allocations: 0 / 252.6 MB, free: 5.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.005499/0.01456, allocations: 2.241 MB / 254.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.01463, allocations: 145 kB / 255 MB, free: 3.352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.01475, allocations: 178.5 kB / 255.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.01479, allocations: 37.7 kB / 255.2 MB, free: 3.121 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.01485, allocations: 137.7 kB / 255.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.01496, allocations: 202.2 kB / 255.5 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.01511, allocations: 98.28 kB / 255.6 MB, free: 2.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.01519, allocations: 342.7 kB / 256 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.01542, allocations: 204.1 kB / 256.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.01568, allocations: 286.7 kB / 256.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.01614, allocations: 0.499 MB / 257 MB, free: 1.305 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01615, allocations: 0 / 257 MB, free: 1.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000572/0.01672, allocations: 0.5246 MB / 257.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.01674, allocations: 4 kB / 257.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.01674, allocations: 7.984 kB / 257.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01676, allocations: 7.984 kB / 257.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.01737, allocations: 184 kB / 257.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01737, allocations: 4 kB / 257.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.01767, allocations: 75.86 kB / 257.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.01771, allocations: 12 kB / 257.8 MB, free: 496 kB / 250.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.0001506/0.01786, allocations: 156.8 kB / 257.9 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.01801, allocations: 117.5 kB / 258 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.382e-05/0.0181, allocations: 63.25 kB / 258.1 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.0181, allocations: 11.98 kB / 258.1 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01811, allocations: 4 kB / 258.1 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01811, allocations: 4 kB / 258.1 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.01977, allocations: 1.189 MB / 259.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.01977, allocations: 12 kB / 259.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.02014, allocations: 187.8 kB / 259.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.02023, allocations: 51.73 kB / 259.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.02024, allocations: 16 kB / 259.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.02027, allocations: 31.98 kB / 259.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.02028, allocations: 15.94 kB / 259.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.02029, allocations: 15.94 kB / 259.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.02091, allocations: 0.8435 MB / 260.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.02095, allocations: 24 kB / 260.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.02119, allocations: 63.94 kB / 260.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.0213, allocations: 83.64 kB / 260.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.02133, allocations: 27.94 kB / 260.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.02137, allocations: 53.89 kB / 260.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02137, allocations: 0 / 260.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.02172, allocations: 116 kB / 260.8 MB, free: 13.09 MB / 266.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.0001229/0.02184, allocations: 116.2 kB / 260.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005453/0.02239, allocations: 473.5 kB / 261.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.0224, allocations: 4 kB / 261.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.02256, allocations: 155.7 kB / 261.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.02306, allocations: 164.1 kB / 261.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.02541, allocations: 1.133 MB / 262.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.39e-05/0.0255, allocations: 126.8 kB / 263 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.02578, allocations: 79.2 kB / 263.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.02609, allocations: 115.3 kB / 263.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02609, allocations: 0 / 263.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Templates: time 0.01036/0.03645, allocations: 9.375 MB / 272.5 MB, free: 1.215 MB / 266.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 -ignoreHideResult -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: 2.641953912563622]