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.001432/0.001432, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001538/0.001538, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.145 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.002028/0.002028, allocations: 79.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.313, allocations: 53.3 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004393/0.3174, allocations: 2.377 MB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3191, allocations: 0.8105 MB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.3193, allocations: 4 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.3197, allocations: 55.56 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3199, allocations: 59.56 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.3204, allocations: 170 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.321, allocations: 375.6 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.3212, allocations: 67.41 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.3215, allocations: 171.4 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.3218, allocations: 179.3 kB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.3219, allocations: 32 kB / 436.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.3219, allocations: 32 kB / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3221, allocations: 99.7 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3222, allocations: 139.2 kB / 436.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.3227, allocations: 328.6 kB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3227, allocations: 0 / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3227, allocations: 0 / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3227, allocations: 0 / 436.9 MB, free: 2.5 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.00134/0.3241, allocations: 0.6275 MB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3241, allocations: 12.03 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3242, allocations: 36.75 kB / 437.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.3247, allocations: 268.5 kB / 437.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.325, allocations: 138.2 kB / 438 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.325, allocations: 28.33 kB / 438 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.3262, allocations: 0.5449 MB / 438.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.3263, allocations: 7.938 kB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.3263, allocations: 15.94 kB / 438.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3263, allocations: 8 kB / 438.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3277, allocations: 0.5073 MB / 439.1 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3294, allocations: 1.002 MB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.3311, allocations: 490.4 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006364/0.3317, allocations: 231.4 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.3318, allocations: 7.984 kB / 440.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3318, allocations: 38.56 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.825e-06/0.3318, allocations: 7.938 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03942/0.3712, allocations: 5.729 MB / 446.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3714, allocations: 148.9 kB / 446.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.3716, allocations: 202.5 kB / 446.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.3717, allocations: 33.7 kB / 446.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3719, allocations: 141.8 kB / 447.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.3721, allocations: 202.3 kB / 447.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.3724, allocations: 106.7 kB / 447.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3726, allocations: 346.8 kB / 447.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.3742, allocations: 0.611 MB / 448.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.376, allocations: 0.8002 MB / 449.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.3792, allocations: 1.244 MB / 450.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3792, allocations: 0 / 450.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003773/0.383, allocations: 1.406 MB / 451.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.383, allocations: 8 kB / 451.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.3831, allocations: 8 kB / 451.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.3831, allocations: 12 kB / 451.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.3845, allocations: 207.6 kB / 452 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.3845, allocations: 11.94 kB / 452 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009939/0.3855, allocations: 107.8 kB / 452.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.3856, allocations: 28.38 kB / 452.1 MB, free: 2.73 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.0003728/0.3859, allocations: 177.6 kB / 452.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.3863, allocations: 157.3 kB / 452.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3865, allocations: 71.23 kB / 452.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3865, allocations: 8 kB / 452.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3865, allocations: 0 / 452.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3865, allocations: 7.984 kB / 452.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.3916, allocations: 2.168 MB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.3916, allocations: 12 kB / 454.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/0.3924, allocations: 183.7 kB / 454.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.3924, allocations: 16 kB / 454.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.3925, allocations: 24.41 kB / 455 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.3925, allocations: 27.92 kB / 455 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.3925, allocations: 15.94 kB / 455 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.396, allocations: 1.541 MB / 456.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.3962, allocations: 176.8 kB / 456.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.3963, allocations: 24 kB / 456.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/0.3969, allocations: 75.91 kB / 456.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.3971, allocations: 95.67 kB / 456.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.3972, allocations: 31.98 kB / 456.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3974, allocations: 148.2 kB / 457.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3974, allocations: 0 / 457.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007071/0.3981, allocations: 124 kB / 457.2 MB, free: 13.3 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.0002125/0.3983, allocations: 135 kB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.4013, allocations: 1.03 MB / 458.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.4013, allocations: 4 kB / 458.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4024, allocations: 330.6 kB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.4034, allocations: 137.4 kB / 458.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.4061, allocations: 1.205 MB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.4066, allocations: 0.809 MB / 460.8 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.4069, allocations: 43.42 kB / 460.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4069, allocations: 0 / 460.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of Templates: time 0.01302/0.4199, allocations: 7.196 MB / 468.1 MB, free: 2.238 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 -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: 7.992380644660443]