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.002088/0.002088, allocations: 107 kB / 19.8 MB, free: 2.5 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.003064/0.003064, allocations: 216.6 kB / 22.99 MB, free: 5.574 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.586/1.586, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.001856/0.001856, allocations: 63.89 kB / 376.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.274, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003886/0.2779, allocations: 2.097 MB / 431.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2791, allocations: 0.5415 MB / 432.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2792, allocations: 4 kB / 432.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2793, allocations: 15.8 kB / 432.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.2794, allocations: 31.72 kB / 432.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.2797, allocations: 63.23 kB / 432.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.28, allocations: 131.6 kB / 432.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.2801, allocations: 37.81 kB / 432.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.2802, allocations: 47.73 kB / 432.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.2803, allocations: 63.69 kB / 432.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2803, allocations: 12 kB / 432.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.2804, allocations: 8 kB / 432.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.2804, allocations: 23.92 kB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.2805, allocations: 63.67 kB / 432.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2807, allocations: 124.7 kB / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2807, allocations: 3.938 kB / 433 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.2807, allocations: 4 kB / 433 MB, free: 4.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2807, allocations: 4 kB / 433 MB, free: 4.277 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.000666/0.2813, allocations: 434.8 kB / 433.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2814, allocations: 8.031 kB / 433.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.2814, allocations: 24.72 kB / 433.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2817, allocations: 208.2 kB / 433.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2817, allocations: 12.36 kB / 433.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.2817, allocations: 20.33 kB / 433.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.2822, allocations: 234.9 kB / 434 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2823, allocations: 0 / 434 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2823, allocations: 12 kB / 434 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2823, allocations: 0 / 434 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.2825, allocations: 91.81 kB / 434.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.2833, allocations: 0.596 MB / 434.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.2836, allocations: 151.9 kB / 434.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2838, allocations: 66.64 kB / 434.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2838, allocations: 0 / 434.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2838, allocations: 42.55 kB / 434.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.001e-06/0.2838, allocations: 0 / 434.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004972/0.2843, allocations: 177.4 kB / 435.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.2844, allocations: 114.8 kB / 435.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2845, allocations: 136.9 kB / 435.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2845, allocations: 29.7 kB / 435.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.2846, allocations: 120 kB / 435.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.2846, allocations: 27.78 kB / 435.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.2847, allocations: 37.7 kB / 435.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2848, allocations: 331 kB / 435.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.285, allocations: 35.97 kB / 435.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.2851, allocations: 133.1 kB / 436 MB, free: 0.9492 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.0004131/0.2855, allocations: 278.6 kB / 436.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2855, allocations: 8.312 kB / 436.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003588/0.2859, allocations: 201.1 kB / 436.5 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2859, allocations: 4 kB / 436.5 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.2859, allocations: 4 kB / 436.5 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2859, allocations: 11.94 kB / 436.5 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2861, allocations: 48.38 kB / 436.6 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.2861, allocations: 15.92 kB / 436.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2862, allocations: 23.89 kB / 436.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2862, allocations: 12 kB / 436.6 MB, free: 288 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.000133/0.2863, allocations: 133.7 kB / 436.8 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.2865, allocations: 85.88 kB / 436.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.2865, allocations: 12.72 kB / 436.8 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.2866, allocations: 7.984 kB / 436.9 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2866, allocations: 7.984 kB / 436.9 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2866, allocations: 0 / 436.9 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.2868, allocations: 221.4 kB / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2869, allocations: 0 / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.2871, allocations: 43.91 kB / 437.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2871, allocations: 0 / 437.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2871, allocations: 8 kB / 437.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2871, allocations: 0 / 437.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.2871, allocations: 7.984 kB / 437.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.2876, allocations: 382.2 kB / 437.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.2877, allocations: 89.03 kB / 437.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.2877, allocations: 7.984 kB / 437.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2878, allocations: 8 kB / 437.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.2879, allocations: 12.05 kB / 437.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2879, allocations: 4 kB / 437.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.2879, allocations: 99.27 kB / 437.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2879, allocations: 0 / 437.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.2883, allocations: 31.95 kB / 437.8 MB, free: 15.04 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.000117/0.2884, allocations: 103.2 kB / 437.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.2887, allocations: 123.9 kB / 438 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2887, allocations: 0 / 438 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.2888, allocations: 31.91 kB / 438 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.000496/0.2893, allocations: 64.67 kB / 438.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.2902, allocations: 421.6 kB / 438.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.2905, allocations: 0.7201 MB / 439.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.313e-05/0.2906, allocations: 13.08 kB / 439.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.2906, allocations: 15.44 kB / 439.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2906, allocations: 0 / 439.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Templates: time 0.004561/0.2952, allocations: 1.4 MB / 440.6 MB, free: 12.13 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.642371050082147]