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.001776/0.001776, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001734/0.001734, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.519/1.519, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001842/0.001842, allocations: 63.89 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1204, allocations: 53.33 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.00424/0.1246, allocations: 2.356 MB / 430.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1262, allocations: 0.8066 MB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1264, allocations: 7.938 kB / 431 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1267, allocations: 51.56 kB / 431 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1269, allocations: 59.56 kB / 431.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1274, allocations: 155.7 kB / 431.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.1279, allocations: 379.6 kB / 431.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1281, allocations: 71.38 kB / 431.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1284, allocations: 171.4 kB / 431.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1287, allocations: 179.3 kB / 432 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.1287, allocations: 32 kB / 432.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.1288, allocations: 32 kB / 432.1 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1289, allocations: 99.72 kB / 432.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2453/0.3743, allocations: 141.1 kB / 432.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.3749, allocations: 325.4 kB / 432.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3749, allocations: 0.9688 kB / 432.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3749, allocations: 1.281 kB / 432.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3749, allocations: 0 / 432.7 MB, free: 8.551 MB / 350.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.001236/0.3761, allocations: 0.6176 MB / 433.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3762, allocations: 12.34 kB / 433.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3763, allocations: 38.72 kB / 433.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.3767, allocations: 272 kB / 433.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.3769, allocations: 138 kB / 433.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.377, allocations: 30.86 kB / 433.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3782, allocations: 0.5441 MB / 434.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3782, allocations: 4.312 kB / 434.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.3782, allocations: 9.938 kB / 434.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3782, allocations: 6.312 kB / 434.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3796, allocations: 0.5101 MB / 434.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.381, allocations: 1.006 MB / 435.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.3826, allocations: 479.8 kB / 436.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/0.3833, allocations: 237.9 kB / 436.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.3833, allocations: 13.48 kB / 436.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3833, allocations: 39.7 kB / 436.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.784e-06/0.3834, allocations: 0.9375 kB / 436.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03978/0.4231, allocations: 5.721 MB / 442.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.4232, allocations: 148.9 kB / 442.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4234, allocations: 201.1 kB / 442.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/0.4235, allocations: 36.95 kB / 442.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.4236, allocations: 144.1 kB / 442.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.4238, allocations: 204.6 kB / 443 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.4241, allocations: 110.3 kB / 443.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.4242, allocations: 340.7 kB / 443.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4258, allocations: 0.6177 MB / 444.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.4275, allocations: 0.7982 MB / 444.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.4305, allocations: 1.25 MB / 446.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4305, allocations: 2 kB / 446.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003779/0.4343, allocations: 1.4 MB / 447.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4343, allocations: 7.312 kB / 447.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4344, allocations: 5.844 kB / 447.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.4344, allocations: 13.45 kB / 447.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.4358, allocations: 203.1 kB / 447.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.4358, allocations: 16.91 kB / 447.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000964/0.4368, allocations: 103.7 kB / 447.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.4368, allocations: 29.25 kB / 447.9 MB, free: 3.613 MB / 350.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.0003329/0.4372, allocations: 184.2 kB / 448.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.4375, allocations: 159.2 kB / 448.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.4377, allocations: 63.98 kB / 448.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.4377, allocations: 10.47 kB / 448.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.4377, allocations: 1.656 kB / 448.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.4377, allocations: 6.031 kB / 448.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.4423, allocations: 2.167 MB / 450.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.4423, allocations: 13.28 kB / 450.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.4431, allocations: 186 kB / 450.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.4431, allocations: 14.44 kB / 450.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.4431, allocations: 23.66 kB / 450.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.4432, allocations: 20.67 kB / 450.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.4432, allocations: 18.59 kB / 450.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.4462, allocations: 1.557 MB / 452.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.4463, allocations: 162.7 kB / 452.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.4464, allocations: 27.86 kB / 452.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.447, allocations: 80.73 kB / 452.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.4472, allocations: 93.44 kB / 452.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.4472, allocations: 29.78 kB / 452.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.4474, allocations: 141.2 kB / 452.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4474, allocations: 0 / 452.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007529/0.4481, allocations: 125.4 kB / 453 MB, free: 0.6914 MB / 350.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.0001739/0.4483, allocations: 136.1 kB / 453.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.4511, allocations: 1.032 MB / 454.1 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4511, allocations: 5.531 kB / 454.1 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4522, allocations: 330.3 kB / 454.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.4531, allocations: 132 kB / 454.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.4557, allocations: 1.201 MB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.4563, allocations: 0.8127 MB / 456.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.4566, allocations: 43.75 kB / 456.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4566, allocations: 0 / 456.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01269/0.4693, allocations: 7.195 MB / 463.8 MB, free: 10.34 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.004131432855502]