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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 184 kB / 16.39 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007967/0.0007967, allocations: 94.58 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002414/0.0002412, allocations: 12 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2767, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3814, allocations: 78.79 MB / 480.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.3818, allocations: 75.95 kB / 480.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007146/0.3889, allocations: 2.657 MB / 483 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3889, allocations: 4 kB / 483 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.389, allocations: 4 kB / 483 MB, free: 14.95 MB / 362.7 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.0005872/0.3896, allocations: 414.9 kB / 483.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3896, allocations: 8.031 kB / 483.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3897, allocations: 19.77 kB / 483.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3899, allocations: 206.9 kB / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.39, allocations: 16 kB / 483.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.39, allocations: 12 kB / 483.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.3905, allocations: 234.5 kB / 483.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3905, allocations: 0 / 483.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3906, allocations: 11.95 kB / 483.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3906, allocations: 0 / 483.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.3909, allocations: 95.88 kB / 484 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.3916, allocations: 0.5921 MB / 484.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.392, allocations: 157.6 kB / 484.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.392, allocations: 8 kB / 484.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.392, allocations: 30.56 kB / 484.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3921, allocations: 0 / 484.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005623/0.3926, allocations: 201.6 kB / 485 MB, free: 12.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.3927, allocations: 118.7 kB / 485.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3928, allocations: 119.9 kB / 485.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3929, allocations: 29.7 kB / 485.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.3929, allocations: 120 kB / 485.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.393, allocations: 27.73 kB / 485.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.393, allocations: 4 kB / 485.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3931, allocations: 326.8 kB / 485.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3932, allocations: 40.34 kB / 485.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3934, allocations: 142.5 kB / 485.9 MB, free: 11.73 MB / 362.7 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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.3938, allocations: 156.2 kB / 486.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3938, allocations: 4 kB / 486.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003785/0.3942, allocations: 205.3 kB / 486.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3942, allocations: 4 kB / 486.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3942, allocations: 4.047 kB / 486.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3942, allocations: 16.39 kB / 486.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3944, allocations: 47.98 kB / 486.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3944, allocations: 15.86 kB / 486.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3945, allocations: 19.84 kB / 486.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3945, allocations: 12 kB / 486.4 MB, free: 11.24 MB / 362.7 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 = 0.0. 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.3947, allocations: 133.7 kB / 486.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.3948, allocations: 89.53 kB / 486.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.3949, allocations: 16.72 kB / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3949, allocations: 4 kB / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3949, allocations: 0 / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3949, allocations: 0 / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3952, allocations: 221.4 kB / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3952, allocations: 0 / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.3954, allocations: 43.97 kB / 486.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3954, allocations: 0 / 486.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3955, allocations: 8 kB / 486.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3955, allocations: 4 kB / 486.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3955, allocations: 0 / 486.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.396, allocations: 419 kB / 487.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.3961, allocations: 92.89 kB / 487.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3961, allocations: 12 kB / 487.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3963, allocations: 11.98 kB / 487.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3963, allocations: 8.016 kB / 487.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3963, allocations: 7.984 kB / 487.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.703e-05/0.3964, allocations: 106.4 kB / 487.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3964, allocations: 0 / 487.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.3967, allocations: 24 kB / 487.6 MB, free: 9.945 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.3969, allocations: 119.1 kB / 487.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.3972, allocations: 131.7 kB / 487.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3972, allocations: 0 / 487.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.3973, allocations: 36.92 kB / 487.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3977, allocations: 51.94 kB / 487.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.3986, allocations: 0.4993 MB / 488.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3989, allocations: 0.7245 MB / 489.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.3989, allocations: 5.094 kB / 489.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.399, allocations: 19.44 kB / 489.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.399, allocations: 0 / 489.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of Templates: time 0.003542/0.4025, allocations: 1.143 MB / 490.3 MB, free: 7.199 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches