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.001417/0.001418, allocations: 112 kB / 17.99 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 209.8 kB / 18.92 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 247.1 MB, free: 9.062 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 71.86 kB / 307.1 MB, free: 0.6836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.101, allocations: 50.53 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003634/0.1047, allocations: 2.125 MB / 359.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.1057, allocations: 0.5338 MB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1058, allocations: 4 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.1059, allocations: 11.86 kB / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.106, allocations: 19.86 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1063, allocations: 51.89 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1065, allocations: 119.6 kB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1066, allocations: 69.75 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.1067, allocations: 47.73 kB / 360.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.1068, allocations: 59.7 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1068, allocations: 12 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.1069, allocations: 8 kB / 360.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.1069, allocations: 27.91 kB / 360.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.107, allocations: 59.67 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1071, allocations: 96.06 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1072, allocations: 0 / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1072, allocations: 4 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1072, allocations: 0 / 360.9 MB, free: 10.9 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.0006399/0.1078, allocations: 431 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1079, allocations: 8.031 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1079, allocations: 16.75 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1082, allocations: 208.1 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1082, allocations: 12.38 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1082, allocations: 12.38 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.1087, allocations: 234.8 kB / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1088, allocations: 7.938 kB / 361.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1088, allocations: 4 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1088, allocations: 4 kB / 361.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.109, allocations: 79.88 kB / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.1098, allocations: 0.5998 MB / 362.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1101, allocations: 151.9 kB / 362.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1103, allocations: 74.62 kB / 362.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1103, allocations: 0 / 362.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.1104, allocations: 46.5 kB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1104, allocations: 0 / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005024/0.1109, allocations: 177.2 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.111, allocations: 110.8 kB / 363 MB, free: 8.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1111, allocations: 140.5 kB / 363.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1112, allocations: 25.7 kB / 363.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.1112, allocations: 124.1 kB / 363.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1113, allocations: 23.7 kB / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.1113, allocations: 33.72 kB / 363.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1115, allocations: 318.8 kB / 363.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1116, allocations: 39.97 kB / 363.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.1118, allocations: 146.3 kB / 363.9 MB, free: 7.578 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.0005085/0.1123, allocations: 281 kB / 364.1 MB, free: 7.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1123, allocations: 4 kB / 364.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003859/0.1127, allocations: 205.6 kB / 364.4 MB, free: 7.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1128, allocations: 11.22 kB / 364.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1128, allocations: 4 kB / 364.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1128, allocations: 4 kB / 364.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.113, allocations: 48.28 kB / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.113, allocations: 7.938 kB / 364.4 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1131, allocations: 19.89 kB / 364.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1131, allocations: 8 kB / 364.5 MB, free: 6.93 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 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.000127/0.1132, allocations: 149.6 kB / 364.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.1134, allocations: 89.52 kB / 364.7 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1135, allocations: 20.72 kB / 364.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1135, allocations: 4 kB / 364.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1135, allocations: 0 / 364.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.1135, allocations: 0 / 364.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1138, allocations: 209.4 kB / 364.9 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1138, allocations: 4 kB / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.114, allocations: 47.95 kB / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.114, allocations: 0 / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1141, allocations: 8 kB / 365 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1141, allocations: 0 / 365 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1141, allocations: 3.938 kB / 365 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.1146, allocations: 381.8 kB / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1147, allocations: 96.95 kB / 365.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1147, allocations: 8 kB / 365.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1149, allocations: 7.984 kB / 365.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1149, allocations: 0 / 365.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.115, allocations: 8 kB / 365.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.1151, allocations: 109.7 kB / 365.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1151, allocations: 0 / 365.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1154, allocations: 24 kB / 365.6 MB, free: 5.684 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.0001246/0.1155, allocations: 107.2 kB / 365.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.1159, allocations: 127.7 kB / 365.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1159, allocations: 0.9375 kB / 365.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.116, allocations: 35.92 kB / 365.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1165, allocations: 72.23 kB / 365.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.1175, allocations: 495.5 kB / 366.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1178, allocations: 0.7162 MB / 367.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.1179, allocations: 19.42 kB / 367.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1179, allocations: 0 / 367.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of Templates: time 0.003496/0.1214, allocations: 1.592 MB / 368.7 MB, free: 2.461 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.1.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