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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002841, allocations: 8 kB / 308.4 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 51.53 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002461/0.1044, allocations: 1.763 MB / 361.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.1054, allocations: 0.526 MB / 362.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1055, allocations: 4 kB / 362.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.273e-05/0.1057, allocations: 11.86 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.1057, allocations: 19.84 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.106, allocations: 47.89 kB / 362.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1062, allocations: 119.6 kB / 362.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1063, allocations: 61.3 kB / 362.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.1064, allocations: 39.73 kB / 362.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.1065, allocations: 43.72 kB / 362.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1065, allocations: 7.984 kB / 362.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.1066, allocations: 12 kB / 362.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.1066, allocations: 23.86 kB / 362.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.1067, allocations: 77.38 kB / 362.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1068, allocations: 88.03 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1068, allocations: 0 / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1068, allocations: 0 / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1068, allocations: 0 / 362.7 MB, free: 10.21 MB / 302.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.0005757/0.1074, allocations: 417.7 kB / 363.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1075, allocations: 12.03 kB / 363.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.1075, allocations: 16.75 kB / 363.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1077, allocations: 208 kB / 363.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1078, allocations: 8.375 kB / 363.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1078, allocations: 12.38 kB / 363.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.1083, allocations: 238.9 kB / 363.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1083, allocations: 4 kB / 363.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1083, allocations: 4 kB / 363.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1083, allocations: 4 kB / 363.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.1086, allocations: 99.86 kB / 363.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.1093, allocations: 0.6036 MB / 364.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.1096, allocations: 147.9 kB / 364.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1098, allocations: 74.64 kB / 364.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1098, allocations: 7.984 kB / 364.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1098, allocations: 46.48 kB / 364.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1099, allocations: 0 / 364.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.000511/0.1104, allocations: 193.4 kB / 364.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.1105, allocations: 110.8 kB / 364.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.1106, allocations: 134.2 kB / 365 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1106, allocations: 30.08 kB / 365.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.1107, allocations: 119.9 kB / 365.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1107, allocations: 23.78 kB / 365.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.1107, allocations: 29.73 kB / 365.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.1108, allocations: 326.8 kB / 365.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.111, allocations: 39.97 kB / 365.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.1112, allocations: 148.6 kB / 365.7 MB, free: 6.859 MB / 302.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.0004542/0.1116, allocations: 294.7 kB / 366 MB, free: 6.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1116, allocations: 0 / 366 MB, free: 6.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003956/0.112, allocations: 217 kB / 366.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1121, allocations: 8 kB / 366.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1121, allocations: 4 kB / 366.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1121, allocations: 4 kB / 366.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1122, allocations: 52.38 kB / 366.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1123, allocations: 8 kB / 366.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1124, allocations: 15.91 kB / 366.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1124, allocations: 15.98 kB / 366.3 MB, free: 6.18 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0001147/0.1125, allocations: 133.7 kB / 366.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1127, allocations: 93.41 kB / 366.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.1128, allocations: 24.72 kB / 366.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1128, allocations: 7.984 kB / 366.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1128, allocations: 0 / 366.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1128, allocations: 4 kB / 366.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.1131, allocations: 209.5 kB / 366.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1131, allocations: 0 / 366.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.1133, allocations: 39.97 kB / 366.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1133, allocations: 4 kB / 366.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1133, allocations: 4 kB / 366.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.1133, allocations: 11.92 kB / 366.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1133, allocations: 4 kB / 366.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.1139, allocations: 397.2 kB / 367.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.114, allocations: 96.88 kB / 367.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.114, allocations: 4 kB / 367.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1141, allocations: 12 kB / 367.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1142, allocations: 3.984 kB / 367.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1142, allocations: 4 kB / 367.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.1143, allocations: 109.6 kB / 367.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1143, allocations: 0 / 367.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.1146, allocations: 28.03 kB / 367.5 MB, free: 4.918 MB / 302.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.0001124/0.1148, allocations: 111.2 kB / 367.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.1151, allocations: 132 kB / 367.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1151, allocations: 0 / 367.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1153, allocations: 36.98 kB / 367.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.1158, allocations: 69.27 kB / 367.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.1167, allocations: 0.5343 MB / 368.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.117, allocations: 0.7204 MB / 369.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.117, allocations: 15.44 kB / 369.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.117, allocations: 0 / 369.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of Templates: time 0.003456/0.1205, allocations: 1.576 MB / 370.7 MB, free: 1.656 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches