Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001375/0.001375, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001673/0.001673, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.519/1.519, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.84 kB / 378.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2803, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004281/0.2845, allocations: 2.369 MB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2861, allocations: 0.8066 MB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2863, allocations: 4 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.2865, allocations: 55.58 kB / 435.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.2868, allocations: 67.48 kB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.2872, allocations: 163.6 kB / 435.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.2877, allocations: 371.6 kB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2879, allocations: 71.39 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.2882, allocations: 175.4 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2885, allocations: 175.3 kB / 436.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.2885, allocations: 32 kB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.2886, allocations: 32 kB / 436.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2887, allocations: 99.66 kB / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2889, allocations: 139.3 kB / 436.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.2893, allocations: 332.1 kB / 436.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2893, allocations: 0 / 436.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2893, allocations: 0 / 436.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2893, allocations: 0 / 436.9 MB, free: 2.527 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.001239/0.2905, allocations: 0.6275 MB / 437.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2906, allocations: 8.031 kB / 437.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.2907, allocations: 36.75 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.2912, allocations: 264.5 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.2914, allocations: 142.1 kB / 437.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.2915, allocations: 36.27 kB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.2928, allocations: 0.5527 MB / 438.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2928, allocations: 0 / 438.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.2929, allocations: 12 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2929, allocations: 8 kB / 438.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2943, allocations: 0.5073 MB / 439.1 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2961, allocations: 0.9986 MB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2978, allocations: 489.5 kB / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.2984, allocations: 235.4 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.2984, allocations: 12.12 kB / 440.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.2985, allocations: 46.5 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.2985, allocations: 4 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03974/0.3382, allocations: 5.72 MB / 446.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.3383, allocations: 156.9 kB / 446.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3386, allocations: 194.6 kB / 446.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.3386, allocations: 33.7 kB / 446.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3387, allocations: 145.8 kB / 447.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.339, allocations: 202.3 kB / 447.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.3393, allocations: 114.7 kB / 447.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3394, allocations: 339.2 kB / 447.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.3411, allocations: 0.6149 MB / 448.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.3429, allocations: 0.7963 MB / 449.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00322/0.3461, allocations: 1.252 MB / 450.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3461, allocations: 3.938 kB / 450.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003689/0.3498, allocations: 1.402 MB / 451.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3498, allocations: 8 kB / 451.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3498, allocations: 4 kB / 451.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.3499, allocations: 12 kB / 451.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.3512, allocations: 211.6 kB / 452 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.3513, allocations: 11.94 kB / 452 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.3522, allocations: 103.8 kB / 452.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/0.3523, allocations: 28 kB / 452.1 MB, free: 2.754 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.0003389/0.3526, allocations: 181.6 kB / 452.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.3529, allocations: 149.4 kB / 452.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.3531, allocations: 71.23 kB / 452.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3531, allocations: 8 kB / 452.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3531, allocations: 4 kB / 452.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.3531, allocations: 3.984 kB / 452.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/0.3583, allocations: 2.168 MB / 454.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.3583, allocations: 12 kB / 454.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.3591, allocations: 183.7 kB / 454.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.3592, allocations: 12.47 kB / 454.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.3592, allocations: 31.94 kB / 455 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.097e-05/0.3592, allocations: 23.92 kB / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.3592, allocations: 15.94 kB / 455 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.3626, allocations: 1.545 MB / 456.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3629, allocations: 172.8 kB / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.3629, allocations: 28 kB / 456.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.3635, allocations: 75.91 kB / 456.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3637, allocations: 91.86 kB / 456.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.3638, allocations: 28 kB / 456.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3639, allocations: 156.2 kB / 457.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3639, allocations: 4 kB / 457.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.3646, allocations: 120 kB / 457.2 MB, free: 13.33 MB / 366.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.0001812/0.3647, allocations: 139 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.3676, allocations: 1.029 MB / 458.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3676, allocations: 4 kB / 458.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3686, allocations: 334.4 kB / 458.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.3694, allocations: 125.3 kB / 458.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.372, allocations: 1.169 MB / 460 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.3725, allocations: 0.8129 MB / 460.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.373, allocations: 95.31 kB / 460.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.3733, allocations: 39.42 kB / 460.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3733, allocations: 0 / 460.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of Templates: time 0.01583/0.3891, allocations: 8.647 MB / 469.6 MB, free: 0.7539 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.9207163522951305]