Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001744/0.001744, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002214/0.002214, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.56/1.56, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2469, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003469/0.2504, allocations: 2.024 MB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.2513, allocations: 0.5103 MB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.2514, allocations: 7.938 kB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2515, allocations: 15.8 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.2516, allocations: 27.78 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2518, allocations: 63.88 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.252, allocations: 127.5 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2522, allocations: 40.95 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.2523, allocations: 55.77 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.2523, allocations: 55.77 kB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2524, allocations: 8 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.2524, allocations: 15.94 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.2524, allocations: 23.92 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.2525, allocations: 55.66 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.2527, allocations: 127.2 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2527, allocations: 4 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2527, allocations: 0 / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2527, allocations: 0 / 435.5 MB, free: 3.555 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.0005681/0.2533, allocations: 357.7 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2533, allocations: 12.02 kB / 435.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.2533, allocations: 16.84 kB / 435.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2536, allocations: 152.9 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2536, allocations: 8.375 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.2536, allocations: 20.33 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.2541, allocations: 235.7 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2541, allocations: 3.984 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2541, allocations: 4 kB / 436.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2542, allocations: 7.938 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.2544, allocations: 87.81 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.255, allocations: 0.4886 MB / 436.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.2554, allocations: 139.9 kB / 437 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2555, allocations: 74.58 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2555, allocations: 0 / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2556, allocations: 42.5 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.2556, allocations: 4 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004942/0.2561, allocations: 173.4 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.2561, allocations: 118.7 kB / 437.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2563, allocations: 136.9 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.2563, allocations: 33.7 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.2564, allocations: 120 kB / 437.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2564, allocations: 27.78 kB / 437.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2565, allocations: 33.72 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2566, allocations: 327 kB / 438 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2567, allocations: 35.97 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.2569, allocations: 141.6 kB / 438.2 MB, free: 0.5234 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.0003963/0.2573, allocations: 201.5 kB / 438.4 MB, free: 284 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2573, allocations: 8.094 kB / 438.4 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003773/0.2577, allocations: 197.1 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2577, allocations: 8.469 kB / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2577, allocations: 11.98 kB / 438.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2577, allocations: 4 kB / 438.6 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2579, allocations: 43.92 kB / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.2579, allocations: 8.047 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.258, allocations: 19.83 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.258, allocations: 12 kB / 438.7 MB, free: 15.96 MB / 350.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.0001183/0.2582, allocations: 125.8 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.2583, allocations: 97.88 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.2584, allocations: 16.72 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2584, allocations: 4.094 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2584, allocations: 3.938 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2584, allocations: 4.234 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.2586, allocations: 141.2 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2586, allocations: 3.938 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.2588, allocations: 39.97 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.2588, allocations: 11.92 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2588, allocations: 4 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2588, allocations: 7.938 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2588, allocations: 4 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.2594, allocations: 379.4 kB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.2594, allocations: 11.92 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2594, allocations: 8 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2596, allocations: 7.984 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.2596, allocations: 3.984 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2596, allocations: 8 kB / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.908e-05/0.2597, allocations: 103.2 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2597, allocations: 4.062 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.26, allocations: 35.95 kB / 439.7 MB, free: 14.89 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 9.356e-05/0.2601, allocations: 95.25 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.2604, allocations: 124.4 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2604, allocations: 8.188 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.877e-05/0.2605, allocations: 31.91 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.261, allocations: 59.92 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.2619, allocations: 447.4 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.262, allocations: 102.7 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.262, allocations: 15.44 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.262, allocations: 0 / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.003476/0.2655, allocations: 1.691 MB / 442.3 MB, free: 12.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.035892246000003]