Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 151 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.12 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09323, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003611/0.09684, allocations: 2.025 MB / 373.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008758/0.09772, allocations: 478.8 kB / 374 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.09782, allocations: 4 kB / 374 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.09794, allocations: 23.73 kB / 374.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.09801, allocations: 27.72 kB / 374.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.09827, allocations: 59.75 kB / 374.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.09845, allocations: 123.6 kB / 374.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.09859, allocations: 48.72 kB / 374.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.09868, allocations: 55.73 kB / 374.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.09877, allocations: 55.69 kB / 374.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.09879, allocations: 8 kB / 374.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.09882, allocations: 12 kB / 374.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.09885, allocations: 23.92 kB / 374.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.09892, allocations: 51.73 kB / 374.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.09912, allocations: 127.4 kB / 374.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09912, allocations: 4 kB / 374.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09912, allocations: 0 / 374.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.09912, allocations: 4 kB / 374.7 MB, free: 4.23 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.0005921/0.09972, allocations: 357.8 kB / 375 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09975, allocations: 12.92 kB / 375 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.09979, allocations: 16.84 kB / 375 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1001, allocations: 150.2 kB / 375.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1001, allocations: 12.38 kB / 375.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1001, allocations: 12.38 kB / 375.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.1006, allocations: 242.9 kB / 375.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1006, allocations: 0 / 375.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1006, allocations: 4 kB / 375.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1006, allocations: 4 kB / 375.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.1009, allocations: 83.86 kB / 375.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.1015, allocations: 0.4966 MB / 376 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.1019, allocations: 151.9 kB / 376.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.102, allocations: 66.64 kB / 376.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1021, allocations: 0 / 376.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1021, allocations: 42.48 kB / 376.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.1021, allocations: 0 / 376.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005111/0.1026, allocations: 185.4 kB / 376.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.1027, allocations: 118.7 kB / 376.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1028, allocations: 137.8 kB / 376.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1028, allocations: 25.7 kB / 376.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.1029, allocations: 112.1 kB / 376.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.1029, allocations: 27.84 kB / 376.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.103, allocations: 37.7 kB / 376.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1031, allocations: 322.8 kB / 377.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1032, allocations: 44.09 kB / 377.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1034, allocations: 137.6 kB / 377.4 MB, free: 1.199 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.0003998/0.1038, allocations: 197.5 kB / 377.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1038, allocations: 0 / 377.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003954/0.1042, allocations: 205.1 kB / 377.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1042, allocations: 8 kB / 377.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1043, allocations: 4 kB / 377.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1043, allocations: 4.469 kB / 377.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1044, allocations: 51.91 kB / 377.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1044, allocations: 7.938 kB / 377.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1046, allocations: 15.95 kB / 377.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1046, allocations: 8 kB / 377.9 MB, free: 0.6523 MB / 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.0001202/0.1047, allocations: 137.7 kB / 378 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.1049, allocations: 97.45 kB / 378.1 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.1049, allocations: 16.78 kB / 378.1 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1049, allocations: 0 / 378.1 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1049, allocations: 11.98 kB / 378.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1049, allocations: 0 / 378.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1051, allocations: 133.2 kB / 378.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1051, allocations: 0 / 378.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.1054, allocations: 43.97 kB / 378.3 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1054, allocations: 4.406 kB / 378.3 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1054, allocations: 3.984 kB / 378.3 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1054, allocations: 4 kB / 378.3 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1054, allocations: 0 / 378.3 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.106, allocations: 383.4 kB / 378.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.106, allocations: 27.8 kB / 378.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.106, allocations: 4 kB / 378.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1061, allocations: 8 kB / 378.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1062, allocations: 12.22 kB / 378.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1062, allocations: 4 kB / 378.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.054e-05/0.1063, allocations: 99.27 kB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1063, allocations: 0 / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1066, allocations: 28 kB / 378.9 MB, free: 15.59 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.0001031/0.1067, allocations: 115.2 kB / 379 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.107, allocations: 119.8 kB / 379.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.107, allocations: 0.9375 kB / 379.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1071, allocations: 31.97 kB / 379.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.1076, allocations: 59.91 kB / 379.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.1085, allocations: 426.8 kB / 379.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.1086, allocations: 102.8 kB / 379.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.1086, allocations: 13.14 kB / 379.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1087, allocations: 16.5 kB / 379.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1087, allocations: 0 / 379.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Templates: time 0.004369/0.113, allocations: 1.431 MB / 381.2 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.232482851948589]