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.001991/0.001991, allocations: 176.4 kB / 17.4 MB, free: 4.414 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.382/1.382, allocations: 223.3 MB / 241.4 MB, free: 11.73 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.0007527/0.0007527, allocations: 94.89 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 16 kB / 352.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 50.4 MB / 402.7 MB, free: 32.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09926/0.336, allocations: 78.83 MB / 481.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.3363, allocations: 73.25 kB / 481.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006845/0.3431, allocations: 2.658 MB / 484.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3431, allocations: 0 / 484.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.3432, allocations: 8.188 kB / 484.3 MB, free: 14.82 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.0005686/0.3437, allocations: 419 kB / 484.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3438, allocations: 8.031 kB / 484.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.3438, allocations: 20.73 kB / 484.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3441, allocations: 204.1 kB / 484.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3441, allocations: 12.38 kB / 485 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.3442, allocations: 12.38 kB / 485 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.3446, allocations: 239 kB / 485.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3447, allocations: 4.188 kB / 485.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3447, allocations: 11.94 kB / 485.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3447, allocations: 4 kB / 485.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.345, allocations: 87.88 kB / 485.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.3457, allocations: 0.5999 MB / 485.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.346, allocations: 161.5 kB / 486.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.3462, allocations: 86.64 kB / 486.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3462, allocations: 0 / 486.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3463, allocations: 34.56 kB / 486.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.3463, allocations: 0 / 486.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005071/0.3468, allocations: 189.4 kB / 486.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.3469, allocations: 123 kB / 486.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.347, allocations: 140.8 kB / 486.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.347, allocations: 33.77 kB / 486.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.3471, allocations: 112 kB / 486.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3471, allocations: 31.64 kB / 486.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.3472, allocations: 0 / 486.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3473, allocations: 326.8 kB / 487.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3474, allocations: 39.97 kB / 487.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3476, allocations: 141.7 kB / 487.3 MB, free: 11.48 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 = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.3482, allocations: 290.7 kB / 487.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3482, allocations: 0 / 487.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004137/0.3486, allocations: 209.6 kB / 487.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3486, allocations: 8 kB / 487.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3486, allocations: 8.031 kB / 487.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3487, allocations: 4 kB / 487.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3488, allocations: 47.91 kB / 487.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.3489, allocations: 15.88 kB / 487.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.349, allocations: 23.83 kB / 487.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.349, allocations: 12 kB / 487.9 MB, free: 10.8 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 = 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.3492, allocations: 126.6 kB / 488 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.3494, allocations: 93.38 kB / 488.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.3494, allocations: 20.7 kB / 488.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3494, allocations: 4 kB / 488.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3495, allocations: 0 / 488.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3495, allocations: 0 / 488.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3497, allocations: 205.5 kB / 488.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3498, allocations: 4.234 kB / 488.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.35, allocations: 51.84 kB / 488.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.35, allocations: 4 kB / 488.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.35, allocations: 7.984 kB / 488.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.35, allocations: 4 kB / 488.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.35, allocations: 3.984 kB / 488.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.3506, allocations: 398.3 kB / 488.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3507, allocations: 92.97 kB / 488.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3507, allocations: 0 / 488.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3508, allocations: 16.06 kB / 488.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3509, allocations: 8.078 kB / 488.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3509, allocations: 7.938 kB / 488.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.351, allocations: 99.27 kB / 489 MB, free: 9.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.351, allocations: 0 / 489 MB, free: 9.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000315/0.3513, allocations: 31.91 kB / 489.1 MB, free: 9.547 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.0001348/0.3514, allocations: 116.4 kB / 489.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.3518, allocations: 131.8 kB / 489.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3518, allocations: 0.9375 kB / 489.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.3519, allocations: 43.91 kB / 489.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.3524, allocations: 63.88 kB / 489.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.3533, allocations: 0.4958 MB / 489.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3536, allocations: 0.7165 MB / 490.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.3537, allocations: 13.08 kB / 490.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.3537, allocations: 11.44 kB / 490.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3538, allocations: 8 kB / 490.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of Templates: time 0.003691/0.3574, allocations: 1.146 MB / 491.8 MB, free: 6.793 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/jenkins1/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