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.001592/0.001592, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2954, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003771/0.2993, allocations: 2.066 MB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3003, allocations: 0.5376 MB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3005, allocations: 4 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.3006, allocations: 15.8 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.3007, allocations: 31.72 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.301, allocations: 59.5 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3012, allocations: 127.6 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3014, allocations: 57.77 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.3015, allocations: 51.73 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.3016, allocations: 59.7 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3017, allocations: 8 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.676e-05/0.3017, allocations: 12 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.3017, allocations: 27.91 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.3018, allocations: 59.67 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.302, allocations: 127.4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.302, allocations: 0 / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.302, allocations: 0 / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3021, allocations: 0 / 413.1 MB, free: 14.34 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.0006501/0.3027, allocations: 432.2 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3028, allocations: 12.03 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.3028, allocations: 12.84 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3031, allocations: 227.9 kB / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3032, allocations: 8.375 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.3032, allocations: 12.38 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.3037, allocations: 234.9 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3037, allocations: 0 / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3038, allocations: 7.938 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3038, allocations: 4 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.304, allocations: 83.86 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.3048, allocations: 0.592 MB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3051, allocations: 147.9 kB / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3053, allocations: 82.56 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3053, allocations: 4 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3054, allocations: 34.56 kB / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.3054, allocations: 0 / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005316/0.3059, allocations: 181.3 kB / 415.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.306, allocations: 114.8 kB / 415.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3062, allocations: 136.6 kB / 415.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3062, allocations: 25.7 kB / 415.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.3063, allocations: 123.9 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3063, allocations: 35.7 kB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3064, allocations: 33.72 kB / 415.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3065, allocations: 322.8 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3067, allocations: 35.97 kB / 416 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3068, allocations: 142.8 kB / 416.1 MB, free: 11 MB / 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.0004457/0.3073, allocations: 286.2 kB / 416.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3073, allocations: 0 / 416.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003826/0.3077, allocations: 197.1 kB / 416.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3077, allocations: 11.44 kB / 416.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3077, allocations: 7.984 kB / 416.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3078, allocations: 8 kB / 416.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3079, allocations: 43.92 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3079, allocations: 4.375 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3081, allocations: 23.83 kB / 416.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3081, allocations: 8 kB / 416.7 MB, free: 10.36 MB / 334.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.0001161/0.3082, allocations: 145.5 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.3084, allocations: 97.42 kB / 416.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.3084, allocations: 20.72 kB / 417 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3084, allocations: 0 / 417 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3084, allocations: 4 kB / 417 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3084, allocations: 0 / 417 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3087, allocations: 205.5 kB / 417.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3087, allocations: 0 / 417.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.309, allocations: 51.91 kB / 417.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.309, allocations: 0 / 417.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.309, allocations: 0 / 417.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.309, allocations: 4 kB / 417.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.309, allocations: 4 kB / 417.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.3096, allocations: 391 kB / 417.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3096, allocations: 89.03 kB / 417.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3096, allocations: 4 kB / 417.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3098, allocations: 12.05 kB / 417.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.3098, allocations: 8 kB / 417.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3098, allocations: 7.984 kB / 417.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.3099, allocations: 105.5 kB / 417.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 0 / 417.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.3103, allocations: 31.84 kB / 417.9 MB, free: 9.098 MB / 334.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.0001136/0.3104, allocations: 103.2 kB / 418 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.3107, allocations: 131.7 kB / 418.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3108, allocations: 0 / 418.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3109, allocations: 28.86 kB / 418.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.3114, allocations: 68.25 kB / 418.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.3123, allocations: 439.8 kB / 418.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.3127, allocations: 0.7201 MB / 419.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.3128, allocations: 15.44 kB / 419.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3128, allocations: 0 / 419.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of Templates: time 0.003329/0.3161, allocations: 1.613 MB / 421 MB, free: 5.93 MB / 334.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