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.001283/0.001283, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001464/0.001464, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.394/1.394, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.001572/0.001572, allocations: 50.77 kB / 325.5 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09418, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003399/0.09758, allocations: 2.03 MB / 380.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000939/0.09852, allocations: 0.5181 MB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.09862, allocations: 4 kB / 381.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.09872, allocations: 19.73 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.0988, allocations: 19.8 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.09906, allocations: 55.88 kB / 381.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.09926, allocations: 131.5 kB / 381.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.09941, allocations: 53.89 kB / 381.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.09949, allocations: 47.8 kB / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.09958, allocations: 47.77 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.09961, allocations: 12 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.09963, allocations: 12 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.09967, allocations: 31.84 kB / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.09973, allocations: 47.73 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.09993, allocations: 135.3 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09993, allocations: 0 / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09993, allocations: 0 / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.09994, allocations: 0 / 382 MB, free: 12.52 MB / 350.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.0005931/0.1005, allocations: 361.8 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1006, allocations: 8.031 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1006, allocations: 16.84 kB / 382.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1009, allocations: 154.3 kB / 382.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1009, allocations: 12.38 kB / 382.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.1009, allocations: 16.33 kB / 382.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.1014, allocations: 234.9 kB / 382.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1014, allocations: 4 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1014, allocations: 4 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1014, allocations: 4 kB / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.1017, allocations: 79.88 kB / 382.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.1023, allocations: 0.4888 MB / 383.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.1026, allocations: 147.9 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1028, allocations: 66.64 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1028, allocations: 4 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1028, allocations: 42.5 kB / 383.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1028, allocations: 0 / 383.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005592/0.1034, allocations: 177.5 kB / 383.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.1035, allocations: 119 kB / 383.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1036, allocations: 140.7 kB / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1037, allocations: 29.7 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.1038, allocations: 116.3 kB / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1038, allocations: 23.84 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1038, allocations: 37.7 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.104, allocations: 322.8 kB / 384.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1041, allocations: 39.91 kB / 384.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1043, allocations: 141.6 kB / 384.8 MB, free: 9.492 MB / 350.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.0004212/0.1048, allocations: 205.6 kB / 385 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1048, allocations: 4 kB / 385 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004256/0.1052, allocations: 205.1 kB / 385.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1052, allocations: 4 kB / 385.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1052, allocations: 4 kB / 385.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1052, allocations: 8 kB / 385.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1054, allocations: 39.92 kB / 385.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1054, allocations: 8.453 kB / 385.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1055, allocations: 23.95 kB / 385.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1055, allocations: 12 kB / 385.3 MB, free: 8.934 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.0001234/0.1057, allocations: 133.7 kB / 385.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.1058, allocations: 93.52 kB / 385.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.1059, allocations: 12.78 kB / 385.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1059, allocations: 4 kB / 385.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1059, allocations: 0 / 385.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1059, allocations: 3.984 kB / 385.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1061, allocations: 137.2 kB / 385.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1061, allocations: 4 kB / 385.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1063, allocations: 39.97 kB / 385.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1063, allocations: 3.938 kB / 385.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1063, allocations: 11.94 kB / 385.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1064, allocations: 4 kB / 385.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1064, allocations: 7.938 kB / 385.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.1069, allocations: 379.4 kB / 386.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.107, allocations: 19.92 kB / 386.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.107, allocations: 0 / 386.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1071, allocations: 15.98 kB / 386.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.1072, allocations: 3.984 kB / 386.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1072, allocations: 4 kB / 386.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.1073, allocations: 103.3 kB / 386.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1073, allocations: 0 / 386.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1076, allocations: 28.05 kB / 386.3 MB, free: 7.879 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.0001071/0.1077, allocations: 111.1 kB / 386.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.108, allocations: 123.7 kB / 386.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.108, allocations: 0 / 386.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1082, allocations: 27.97 kB / 386.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.1087, allocations: 56.95 kB / 386.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.1095, allocations: 426.3 kB / 387 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.1096, allocations: 102.8 kB / 387.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.1097, allocations: 13.14 kB / 387.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1097, allocations: 20.5 kB / 387.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1097, allocations: 0 / 387.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Templates: time 0.004429/0.1141, allocations: 1.43 MB / 388.6 MB, free: 5.59 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 -s ida -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: 4.249662609072402]