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.001869/0.001869, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002261/0.002261, allocations: 209 kB / 24.48 MB, free: 3.938 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.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001641/0.001641, allocations: 43.92 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2578, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003825/0.2616, allocations: 2.036 MB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2627, allocations: 0.5064 MB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.2628, allocations: 7.938 kB / 434.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.263, allocations: 15.8 kB / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.263, allocations: 27.72 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.2633, allocations: 59.81 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.2636, allocations: 131.5 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2637, allocations: 40.95 kB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.2638, allocations: 51.78 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.2639, allocations: 51.7 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.264, allocations: 12 kB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.264, allocations: 8 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.264, allocations: 27.86 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.2641, allocations: 51.8 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.2643, allocations: 135 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2643, allocations: 0 / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2643, allocations: 0 / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2643, allocations: 4 kB / 435.5 MB, free: 3.562 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.0006257/0.265, allocations: 357.7 kB / 435.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.265, allocations: 12.03 kB / 435.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.2651, allocations: 16.84 kB / 435.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.2654, allocations: 146.3 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2654, allocations: 12.38 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.2654, allocations: 16.33 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.266, allocations: 239.6 kB / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.266, allocations: 0 / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.266, allocations: 11.98 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.266, allocations: 0 / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.2663, allocations: 83.81 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.267, allocations: 0.4926 MB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.2674, allocations: 147.9 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.2675, allocations: 66.62 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2676, allocations: 4 kB / 437 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2676, allocations: 34.56 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.2676, allocations: 3.938 kB / 437.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005571/0.2682, allocations: 181.7 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.2683, allocations: 122.7 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2684, allocations: 138.1 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2684, allocations: 29.7 kB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.2685, allocations: 116 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.2685, allocations: 27.78 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.2686, allocations: 33.72 kB / 437.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2688, allocations: 326.8 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2689, allocations: 40.09 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.2691, allocations: 137.7 kB / 438.2 MB, free: 0.5312 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.0004445/0.2695, allocations: 201.5 kB / 438.4 MB, free: 292 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2695, allocations: 0 / 438.4 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003982/0.2699, allocations: 201.2 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2699, allocations: 8 kB / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2699, allocations: 4 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.27, allocations: 4.469 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2701, allocations: 55.91 kB / 438.7 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2701, allocations: 11.92 kB / 438.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2703, allocations: 20.06 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2703, 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.000121/0.2704, allocations: 129.8 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2706, allocations: 85.39 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.2706, allocations: 20.7 kB / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2706, allocations: 0 / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2706, allocations: 7.938 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2706, allocations: 4.234 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.2708, allocations: 141.2 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2708, allocations: 4 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.2711, allocations: 47.89 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.2711, allocations: 3.984 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2711, allocations: 8 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2711, allocations: 0 / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2711, allocations: 0 / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.2717, allocations: 387.5 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.2717, allocations: 19.86 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.2717, allocations: 7.938 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2718, allocations: 7.984 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2719, allocations: 4 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2719, allocations: 8 kB / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.272, allocations: 102 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.272, allocations: 4 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.2723, allocations: 31.95 kB / 439.7 MB, free: 14.9 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.0001072/0.2724, allocations: 107.2 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.2728, allocations: 123.7 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2728, allocations: 0 / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/0.2729, allocations: 24.92 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.2734, allocations: 67.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.0009037/0.2743, allocations: 435.6 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.2744, allocations: 106.7 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.2745, allocations: 19.42 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2745, allocations: 0 / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.003709/0.2782, allocations: 1.679 MB / 442.3 MB, free: 12.31 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.0980707299895585]