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.001638/0.001638, allocations: 109.9 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001966, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.92 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09687, allocations: 50.53 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003726/0.1007, allocations: 2.06 MB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1018, allocations: 0.5337 MB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1019, allocations: 11.94 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1021, allocations: 19.8 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.1022, allocations: 19.8 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1025, allocations: 55.86 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1027, allocations: 127.5 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1028, allocations: 57.73 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.1029, allocations: 51.78 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.103, allocations: 55.7 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1031, allocations: 12 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.441e-05/0.1031, allocations: 12 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.1031, allocations: 23.92 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.1032, allocations: 63.66 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1034, allocations: 127.7 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1034, allocations: 4 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1034, allocations: 0 / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1034, allocations: 0 / 361.4 MB, free: 10.87 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.0006236/0.104, allocations: 435 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1041, allocations: 8.031 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.1041, allocations: 16.75 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1044, allocations: 204.1 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1044, allocations: 12.38 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1044, allocations: 16.38 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.1049, allocations: 226.8 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1049, allocations: 0 / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.105, allocations: 11.94 kB / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.105, allocations: 4 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1052, allocations: 83.88 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.1059, allocations: 0.5959 MB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1062, allocations: 151.9 kB / 363.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1064, allocations: 74.62 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1064, allocations: 4 kB / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1064, allocations: 34.56 kB / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1064, allocations: 4 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005144/0.107, allocations: 181.5 kB / 363.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.107, allocations: 118.8 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1072, allocations: 140.5 kB / 363.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1072, allocations: 29.7 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.1072, allocations: 112.1 kB / 363.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.1073, allocations: 27.7 kB / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.1073, allocations: 33.72 kB / 363.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.1074, allocations: 322.8 kB / 364.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1076, allocations: 35.97 kB / 364.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.1077, allocations: 153.2 kB / 364.3 MB, free: 7.547 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.0004971/0.1082, allocations: 281.9 kB / 364.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1083, allocations: 4 kB / 364.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003785/0.1086, allocations: 193.1 kB / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1087, allocations: 11.44 kB / 364.8 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1087, allocations: 11.98 kB / 364.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1087, allocations: 4 kB / 364.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1089, allocations: 43.92 kB / 364.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1089, allocations: 11.92 kB / 364.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.109, allocations: 19.89 kB / 364.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.109, allocations: 8 kB / 364.9 MB, free: 6.902 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.0001258/0.1092, allocations: 141.6 kB / 365.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.1093, allocations: 93.58 kB / 365.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.1094, allocations: 20.72 kB / 365.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1094, allocations: 0 / 365.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1094, allocations: 4 kB / 365.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1094, allocations: 3.938 kB / 365.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.1097, allocations: 213.4 kB / 365.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1097, allocations: 7.938 kB / 365.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.1099, allocations: 43.97 kB / 365.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1099, allocations: 0 / 365.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1099, allocations: 0 / 365.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1099, allocations: 8 kB / 365.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1099, allocations: 0 / 365.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.1105, allocations: 386.1 kB / 365.8 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1106, allocations: 96.88 kB / 365.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1106, allocations: 8.156 kB / 365.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1107, allocations: 15.92 kB / 365.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1108, allocations: 4 kB / 365.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1108, allocations: 7.984 kB / 365.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.317e-05/0.1109, allocations: 105.7 kB / 366.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1109, allocations: 0 / 366.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1112, allocations: 24 kB / 366.1 MB, free: 5.645 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.0001223/0.1113, allocations: 107.2 kB / 366.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.1117, allocations: 131.7 kB / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1117, allocations: 0 / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1118, allocations: 28.91 kB / 366.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.1124, allocations: 67.95 kB / 366.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.1132, allocations: 443.5 kB / 366.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1135, allocations: 0.7123 MB / 367.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.1136, allocations: 19.44 kB / 367.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1136, allocations: 0 / 367.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of Templates: time 0.0032/0.1168, allocations: 1.61 MB / 369.2 MB, free: 2.465 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