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.001368/0.001368, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001439/0.001439, allocations: 217.9 kB / 24.48 MB, free: 3.836 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.516/1.516, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.001945/0.001945, allocations: 63.89 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2427, allocations: 53.4 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003491/0.2462, allocations: 2.028 MB / 434.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.2472, allocations: 0.5103 MB / 434.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2473, allocations: 11.88 kB / 434.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2474, allocations: 15.8 kB / 434.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.2475, allocations: 23.78 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2477, allocations: 59.88 kB / 435 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.2479, allocations: 135.5 kB / 435.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2481, allocations: 48.88 kB / 435.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.2482, allocations: 47.84 kB / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.2483, allocations: 47.72 kB / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.2483, allocations: 8 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.2483, allocations: 12 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.2484, allocations: 27.86 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.2484, allocations: 47.78 kB / 435.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2486, allocations: 135 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2486, allocations: 0 / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2486, allocations: 0 / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2486, allocations: 4 kB / 435.5 MB, free: 3.355 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.0005926/0.2492, allocations: 364.5 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2492, allocations: 11.98 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.2493, allocations: 16.84 kB / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2496, allocations: 150.3 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2496, allocations: 8.375 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.2496, allocations: 20.31 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.2501, allocations: 235.7 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2501, allocations: 3.984 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2501, allocations: 4 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.2501, allocations: 4 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.2504, allocations: 83.81 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.251, allocations: 0.4926 MB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2513, allocations: 139.9 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2515, allocations: 66.64 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2515, allocations: 7.984 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.2515, allocations: 46.48 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2515, allocations: 3.938 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000512/0.252, allocations: 177.7 kB / 437.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.2521, allocations: 114.8 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2522, allocations: 138.1 kB / 437.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2523, allocations: 33.7 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.2523, allocations: 120 kB / 437.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2524, allocations: 23.8 kB / 437.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.2524, allocations: 37.7 kB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2526, allocations: 322.8 kB / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.2527, allocations: 40.09 kB / 438.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2529, allocations: 147.7 kB / 438.3 MB, free: 324 kB / 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.0004003/0.2533, allocations: 201.6 kB / 438.5 MB, free: 72 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2533, allocations: 0 / 438.5 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003954/0.2537, allocations: 201.2 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2537, allocations: 8 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2537, allocations: 0 / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2537, allocations: 8.469 kB / 438.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2539, allocations: 51.91 kB / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2539, allocations: 11.98 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.254, allocations: 19.88 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.254, allocations: 12 kB / 438.8 MB, free: 15.75 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.0001142/0.2541, allocations: 125.8 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.2543, allocations: 93.52 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.2543, allocations: 16.7 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2543, allocations: 4 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2543, allocations: 4 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2543, allocations: 4 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.2546, allocations: 137.2 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2546, allocations: 0 / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2548, allocations: 47.95 kB / 439.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.2548, allocations: 7.938 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2548, allocations: 4 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2548, allocations: 3.938 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2548, allocations: 4 kB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.2553, allocations: 383.4 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.2554, allocations: 11.92 kB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2554, allocations: 8.031 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2555, allocations: 15.92 kB / 439.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.2555, allocations: 0 / 439.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2556, allocations: 4 kB / 439.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.2556, allocations: 110 kB / 439.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2556, allocations: 0 / 439.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.2559, allocations: 31.89 kB / 439.8 MB, free: 14.69 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.909e-05/0.256, allocations: 107.5 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.2564, allocations: 127.7 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2564, allocations: 0.9375 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2565, allocations: 27.98 kB / 440 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.257, allocations: 63.92 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.2578, allocations: 440.1 kB / 440.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2579, allocations: 102.7 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.258, allocations: 15.44 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.258, allocations: 0 / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Templates: time 0.00353/0.2615, allocations: 1.674 MB / 442.3 MB, free: 12.1 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/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_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: 6.973126559052616]