Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.002086/0.002086, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002668/0.002668, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.495/1.495, allocations: 230.3 MB / 258 MB, free: 8.238 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.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController")
translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 59.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 53.37 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003882/0.3191, allocations: 2.1 MB / 434.2 MB, free: 4.988 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00117/0.3203, allocations: 0.5453 MB / 434.7 MB, free: 4.438 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.3204, allocations: 7.938 kB / 434.8 MB, free: 4.43 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3206, allocations: 15.8 kB / 434.8 MB, free: 4.414 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.3207, allocations: 31.72 kB / 434.8 MB, free: 4.383 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.321, allocations: 55.88 kB / 434.9 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002157/0.3212, allocations: 127.6 kB / 435 MB, free: 4.203 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3213, allocations: 41.98 kB / 435 MB, free: 4.152 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.3214, allocations: 51.78 kB / 435.1 MB, free: 4.102 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.3215, allocations: 63.7 kB / 435.1 MB, free: 4.039 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3216, allocations: 8 kB / 435.1 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.3216, allocations: 12 kB / 435.2 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.3216, allocations: 27.86 kB / 435.2 MB, free: 3.992 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.3217, allocations: 59.67 kB / 435.2 MB, free: 3.934 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3219, allocations: 133.1 kB / 435.4 MB, free: 3.809 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3219, allocations: 0 / 435.4 MB, free: 3.809 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.653e-06/0.3219, allocations: 0 / 435.4 MB, free: 3.809 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.292e-06/0.3219, allocations: 0 / 435.4 MB, free: 3.809 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: 29
 * Number of variables: 29
Notification: Performance of Generate backend data structure: time 0.0006509/0.3226, allocations: 361.7 kB / 435.7 MB, free: 3.426 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3226, allocations: 12.03 kB / 435.7 MB, free: 3.414 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3227, allocations: 16.84 kB / 435.8 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.323, allocations: 150.3 kB / 435.9 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.323, allocations: 8.375 kB / 435.9 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.323, allocations: 16.38 kB / 435.9 MB, free: 3.203 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.3235, allocations: 247.5 kB / 436.2 MB, free: 2.938 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3236, allocations: 0 / 436.2 MB, free: 2.938 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3236, allocations: 4 kB / 436.2 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3236, allocations: 4 kB / 436.2 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.3238, allocations: 87.81 kB / 436.3 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.3246, allocations: 0.5349 MB / 436.8 MB, free: 2.25 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.325, allocations: 147.9 kB / 436.9 MB, free: 2.078 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3251, allocations: 66.64 kB / 437 MB, free: 2.004 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3252, allocations: 15.92 kB / 437 MB, free: 1.988 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.3252, allocations: 34.56 kB / 437.1 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.3252, allocations: 0 / 437.1 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0006456/0.3259, allocations: 185.3 kB / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.326, allocations: 114.9 kB / 437.3 MB, free: 1.621 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3261, allocations: 136.9 kB / 437.5 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3262, allocations: 25.7 kB / 437.5 MB, free: 1.449 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.3262, allocations: 120 kB / 437.6 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3263, allocations: 31.77 kB / 437.7 MB, free: 1.297 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.3263, allocations: 37.7 kB / 437.7 MB, free: 1.254 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000168/0.3265, allocations: 322.8 kB / 438 MB, free: 0.9297 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3266, allocations: 35.97 kB / 438 MB, free: 0.8945 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3268, allocations: 145.2 kB / 438.2 MB, free: 0.707 MB / 334.1 MB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start)
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.3273, allocations: 204.6 kB / 438.4 MB, free: 472 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3273, allocations: 0 / 438.4 MB, free: 472 kB / 334.1 MB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004233/0.3278, allocations: 209.1 kB / 438.6 MB, free: 256 kB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.3278, allocations: 8 kB / 438.6 MB, free: 248 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3278, allocations: 4 kB / 438.6 MB, free: 244 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3278, allocations: 4 kB / 438.6 MB, free: 240 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.328, allocations: 43.92 kB / 438.6 MB, free: 196 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.328, allocations: 7.984 kB / 438.6 MB, free: 188 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3281, allocations: 20.23 kB / 438.7 MB, free: 168 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3281, allocations: 12 kB / 438.7 MB, free: 156 kB / 334.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         PI.y = PI.y_start.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (PI.x)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (21):
 * Single equations (assignments): 21
 * 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.0001619/0.3283, allocations: 137.7 kB / 438.8 MB, free: 8 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.3285, allocations: 93.89 kB / 438.9 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.3285, allocations: 16.72 kB / 438.9 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3285, allocations: 0 / 438.9 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3285, allocations: 4 kB / 438.9 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.3286, allocations: 3.984 kB / 438.9 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.3289, allocations: 180.5 kB / 439.1 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3289, allocations: 4 kB / 439.1 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.3291, allocations: 51.91 kB / 439.2 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3291, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3291, allocations: 4 kB / 439.2 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3291, allocations: 4 kB / 439.2 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3291, allocations: 0 / 439.2 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.3297, allocations: 383.4 kB / 439.5 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3298, allocations: 11.92 kB / 439.6 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3298, allocations: 8 kB / 439.6 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3299, allocations: 7.984 kB / 439.6 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.33, allocations: 11.92 kB / 439.6 MB, free: 15.17 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.33, allocations: 4 kB / 439.6 MB, free: 15.16 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.544e-05/0.3301, allocations: 106.1 kB / 439.7 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3301, allocations: 4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003242/0.3304, allocations: 27.95 kB / 439.7 MB, free: 15.03 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (load.phi,load.w)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (PI.x)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (15):
 * Single equations (assignments): 15
 * 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.0001403/0.3305, allocations: 103.2 kB / 439.8 MB, free: 14.92 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000379/0.3309, allocations: 128.8 kB / 439.9 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3309, allocations: 0 / 439.9 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.331, allocations: 31.91 kB / 440 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.3316, allocations: 62.77 kB / 440 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.3325, allocations: 418.3 kB / 440.4 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3329, allocations: 0.7166 MB / 441.2 MB, free: 13.52 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.968e-05/0.333, allocations: 13.08 kB / 441.2 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.333, allocations: 15.44 kB / 441.2 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of SimCode: time 3e-07/0.333, allocations: 3.938 kB / 441.2 MB, free: 13.49 MB / 350.1 MB
Notification: Performance of Templates: time 0.004867/0.3379, allocations: 1.448 MB / 442.6 MB, free: 12.09 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.673932060599327]