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.001609/0.001609, allocations: 118.4 kB / 18.41 MB, free: 4.668 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.001602/0.001602, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.523/1.523, allocations: 222.9 MB / 247 MB, free: 4.211 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.001666/0.001666, allocations: 43.92 kB / 358.6 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 49.44 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003326/0.1082, allocations: 2.047 MB / 410.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.1091, allocations: 0.4986 MB / 410.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.1092, allocations: 4 kB / 410.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.1093, allocations: 15.8 kB / 410.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.1094, allocations: 27.72 kB / 410.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1097, allocations: 55.88 kB / 410.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1099, allocations: 135.4 kB / 410.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.11, allocations: 53.73 kB / 410.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.1101, allocations: 47.84 kB / 411 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.1102, allocations: 59.7 kB / 411 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1102, allocations: 12 kB / 411 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/0.1103, allocations: 8 kB / 411 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1103, allocations: 27.91 kB / 411.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1104, allocations: 63.67 kB / 411.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1106, allocations: 131.3 kB / 411.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1106, allocations: 0 / 411.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1106, allocations: 4 kB / 411.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1106, allocations: 0 / 411.3 MB, free: 3.672 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.0006331/0.1113, allocations: 436.6 kB / 411.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1113, allocations: 8.031 kB / 411.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1114, allocations: 20.78 kB / 411.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1116, allocations: 216 kB / 411.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1117, allocations: 8.375 kB / 411.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.1117, allocations: 12.38 kB / 411.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.1122, allocations: 242.9 kB / 412.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1122, allocations: 3.984 kB / 412.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.1123, allocations: 8 kB / 412.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1123, allocations: 4 kB / 412.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.1125, allocations: 83.88 kB / 412.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.1132, allocations: 0.5921 MB / 412.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.1136, allocations: 147.9 kB / 413 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1138, allocations: 74.62 kB / 413.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1138, allocations: 8 kB / 413.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1139, allocations: 38.5 kB / 413.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1139, allocations: 3.938 kB / 413.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005225/0.1144, allocations: 181.3 kB / 413.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.1145, allocations: 110.9 kB / 413.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1146, allocations: 144.3 kB / 413.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1146, allocations: 29.7 kB / 413.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.1147, allocations: 119.9 kB / 413.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.1148, allocations: 23.84 kB / 413.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.1148, allocations: 33.72 kB / 413.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.115, allocations: 322.8 kB / 414.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1151, allocations: 43.97 kB / 414.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.1153, allocations: 135 kB / 414.3 MB, free: 344 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.0004527/0.1158, allocations: 282.7 kB / 414.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1158, allocations: 4.375 kB / 414.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003878/0.1162, allocations: 197.2 kB / 414.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1162, allocations: 4 kB / 414.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1162, allocations: 4 kB / 414.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1162, allocations: 11.94 kB / 414.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1164, allocations: 47.91 kB / 414.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1164, allocations: 4 kB / 414.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1165, allocations: 24.25 kB / 414.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1166, allocations: 16 kB / 414.8 MB, free: 15.68 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.0001179/0.1167, allocations: 133.7 kB / 415 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.1169, allocations: 89.53 kB / 415.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1169, allocations: 20.7 kB / 415.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1169, allocations: 4 kB / 415.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1169, allocations: 0 / 415.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1169, allocations: 240 / 415.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1173, allocations: 213.5 kB / 415.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1173, allocations: 4 kB / 415.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1175, allocations: 47.94 kB / 415.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1175, allocations: 0 / 415.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1175, allocations: 8 kB / 415.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1175, allocations: 0 / 415.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1175, allocations: 3.938 kB / 415.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.1181, allocations: 385.8 kB / 415.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1182, allocations: 89.05 kB / 415.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1182, allocations: 7.938 kB / 415.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1184, allocations: 11.98 kB / 415.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.1184, allocations: 8 kB / 415.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1184, allocations: 4 kB / 415.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.1185, allocations: 107.3 kB / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1185, allocations: 0 / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1189, allocations: 31.94 kB / 416 MB, free: 14.43 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.0001137/0.119, allocations: 111.1 kB / 416.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.1194, allocations: 124.6 kB / 416.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1194, allocations: 4 kB / 416.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1195, allocations: 23.98 kB / 416.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1201, allocations: 84.05 kB / 416.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.121, allocations: 447.7 kB / 416.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1214, allocations: 0.7123 MB / 417.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1214, allocations: 19.42 kB / 417.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1214, allocations: 0 / 417.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Templates: time 0.003638/0.1251, allocations: 1.627 MB / 419.1 MB, free: 11.23 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.335994666907936]