Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002384/0.002384, allocations: 212.3 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 43.94 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1593, allocations: 53.33 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.006763/0.166, allocations: 2.355 MB / 429.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1688, allocations: 0.8066 MB / 429.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.169, allocations: 11.88 kB / 430 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1694, allocations: 47.58 kB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1698, allocations: 63.55 kB / 430.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.1707, allocations: 163.7 kB / 430.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007792/0.1714, allocations: 375.6 kB / 430.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1717, allocations: 63.41 kB / 430.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005604/0.1723, allocations: 179.4 kB / 430.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.1728, allocations: 179.3 kB / 431 MB, free: 56 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1729, allocations: 32 kB / 431 MB, free: 24 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2694/0.4423, allocations: 31.14 kB / 431.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.4426, allocations: 91.41 kB / 431.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.4428, allocations: 143.2 kB / 431.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.4434, allocations: 329 kB / 431.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4434, allocations: 1.062 kB / 431.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4434, allocations: 2 kB / 431.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4434, allocations: 0 / 431.6 MB, free: 8.461 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.001235/0.4446, allocations: 0.6134 MB / 432.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.4447, allocations: 10.31 kB / 432.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.4448, allocations: 38.62 kB / 432.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.4451, allocations: 278.8 kB / 432.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.4453, allocations: 137.1 kB / 432.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.4454, allocations: 32.23 kB / 432.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.4465, allocations: 0.5457 MB / 433.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.4465, allocations: 2.219 kB / 433.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.4466, allocations: 16.03 kB / 433.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4466, allocations: 7.281 kB / 433.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.4479, allocations: 0.5092 MB / 433.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.4493, allocations: 1.003 MB / 434.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.451, allocations: 480.1 kB / 435.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.4516, allocations: 235.6 kB / 435.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.4517, allocations: 10.39 kB / 435.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4517, allocations: 41.58 kB / 435.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.794e-06/0.4517, allocations: 4.031 kB / 435.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.04045/0.4922, allocations: 5.718 MB / 441.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.4923, allocations: 152.8 kB / 441.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4925, allocations: 200.7 kB / 441.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.4925, allocations: 40.02 kB / 441.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.4926, allocations: 141.9 kB / 441.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.4928, allocations: 202.6 kB / 442 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/0.4931, allocations: 109.6 kB / 442.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.4932, allocations: 349.6 kB / 442.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4948, allocations: 0.6118 MB / 443.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4965, allocations: 0.7968 MB / 443.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.4995, allocations: 1.251 MB / 445.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4996, allocations: 1.062 kB / 445.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003618/0.5032, allocations: 1.4 MB / 446.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.5032, allocations: 10.78 kB / 446.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5032, allocations: 6.875 kB / 446.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.5032, allocations: 10.36 kB / 446.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5046, allocations: 212.2 kB / 446.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.5046, allocations: 11.98 kB / 446.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.5056, allocations: 102.6 kB / 446.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.5057, allocations: 36.55 kB / 446.9 MB, free: 3.418 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.0003243/0.506, allocations: 179.8 kB / 447.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.5063, allocations: 157.2 kB / 447.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.5065, allocations: 63.97 kB / 447.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5065, allocations: 8.219 kB / 447.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.5065, allocations: 1.125 kB / 447.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5065, allocations: 10.14 kB / 447.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/0.5115, allocations: 2.166 MB / 449.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.5115, allocations: 12.25 kB / 449.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.5123, allocations: 183.9 kB / 449.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.5123, allocations: 15.8 kB / 449.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.5123, allocations: 24 kB / 449.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.5124, allocations: 16.78 kB / 449.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.5124, allocations: 18.62 kB / 449.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.5155, allocations: 1.555 MB / 451.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.5156, allocations: 163.6 kB / 451.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.5157, allocations: 36.02 kB / 451.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/0.5166, allocations: 76.16 kB / 451.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.5168, allocations: 99.48 kB / 451.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.5168, allocations: 34.28 kB / 451.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.5169, allocations: 137.7 kB / 451.8 MB, free: 480 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5169, allocations: 0 / 451.8 MB, free: 480 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007466/0.5177, allocations: 125.8 kB / 451.9 MB, free: 456 kB / 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.0001647/0.5178, allocations: 140.7 kB / 452.1 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.5207, allocations: 1.028 MB / 453.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5208, allocations: 2.719 kB / 453.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5218, allocations: 332.5 kB / 453.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/0.5227, allocations: 127.7 kB / 453.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.5254, allocations: 1.174 MB / 454.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.5259, allocations: 0.8103 MB / 455.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.5265, allocations: 90.41 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.5268, allocations: 47.73 kB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5268, allocations: 0 / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.01738/0.5442, allocations: 8.308 MB / 464 MB, free: 9.684 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.320129957050085]