Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 43.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2705, allocations: 52.19 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003943/0.2744, allocations: 2.361 MB / 425.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2758, allocations: 0.7755 MB / 426.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.276, allocations: 11.88 kB / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.2763, allocations: 47.64 kB / 426.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2765, allocations: 63.5 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.277, allocations: 171.6 kB / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.2775, allocations: 367.6 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2777, allocations: 71.8 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.2779, allocations: 167.4 kB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.2782, allocations: 175.3 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.2783, allocations: 36 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.2783, allocations: 36 kB / 427.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.2784, allocations: 95.66 kB / 427.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.2786, allocations: 143.3 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.279, allocations: 327.9 kB / 427.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.279, allocations: 0 / 427.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.279, allocations: 0 / 427.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.279, allocations: 0 / 427.9 MB, free: 9.863 MB / 334.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.001253/0.2802, allocations: 0.5482 MB / 428.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2803, allocations: 12.03 kB / 428.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.2804, allocations: 40.73 kB / 428.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2808, allocations: 206.6 kB / 428.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.281, allocations: 134.2 kB / 428.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.281, allocations: 32.38 kB / 428.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.2823, allocations: 0.5499 MB / 429.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2823, allocations: 8 kB / 429.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.2824, allocations: 8 kB / 429.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2824, allocations: 15.94 kB / 429.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.2838, allocations: 0.5035 MB / 430 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.2855, allocations: 0.9529 MB / 430.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.2872, allocations: 486.5 kB / 431.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.2879, allocations: 239.3 kB / 431.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.2879, allocations: 12.14 kB / 431.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2879, allocations: 42.5 kB / 431.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.2879, allocations: 0 / 431.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.04117/0.3291, allocations: 5.714 MB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.3292, allocations: 152.9 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.3295, allocations: 199.2 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/0.3296, allocations: 37.7 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3297, allocations: 145.7 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.3299, allocations: 198.3 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.3302, allocations: 110.7 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3304, allocations: 342.8 kB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.3321, allocations: 0.6149 MB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.334, allocations: 0.7963 MB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/0.3373, allocations: 1.247 MB / 441.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3373, allocations: 0 / 441.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003904/0.3412, allocations: 1.398 MB / 442.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3413, allocations: 8 kB / 442.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3413, allocations: 8.312 kB / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/0.3413, allocations: 19.94 kB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.3427, allocations: 203.7 kB / 442.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.3428, allocations: 15.92 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3438, allocations: 99.78 kB / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/0.3439, allocations: 35.98 kB / 443 MB, free: 10.31 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.0003525/0.3443, allocations: 174.7 kB / 443.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.3446, allocations: 153.8 kB / 443.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.3448, allocations: 67.23 kB / 443.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.3448, allocations: 8 kB / 443.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3448, allocations: 96 / 443.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3448, allocations: 8.156 kB / 443.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.35, allocations: 2.152 MB / 445.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.35, allocations: 8 kB / 445.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.3508, allocations: 179.7 kB / 445.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.3509, allocations: 16 kB / 445.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.3509, allocations: 27.98 kB / 445.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.3509, allocations: 15.94 kB / 445.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-05/0.351, allocations: 19.88 kB / 445.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.3545, allocations: 1.557 MB / 447.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.3547, allocations: 79.69 kB / 447.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.3548, allocations: 27.98 kB / 447.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.3554, allocations: 79.98 kB / 447.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.3556, allocations: 95.64 kB / 447.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.3556, allocations: 35.94 kB / 447.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3558, allocations: 147.2 kB / 447.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3558, allocations: 0 / 447.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006916/0.3565, allocations: 120 kB / 447.9 MB, free: 5.023 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.00018/0.3567, allocations: 146.9 kB / 448.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.3598, allocations: 1.031 MB / 449.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3598, allocations: 0 / 449.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3609, allocations: 334 kB / 449.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.3618, allocations: 125.1 kB / 449.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.3644, allocations: 1.174 MB / 450.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.3648, allocations: 0.8167 MB / 451.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.3653, allocations: 99.3 kB / 451.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.3656, allocations: 35.44 kB / 451.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3656, allocations: 0 / 451.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Templates: time 0.01577/0.3814, allocations: 8.822 MB / 460.5 MB, free: 8.266 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.8842609422281384]