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.001258/0.001258, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008875, allocations: 96.77 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.586e-05, allocations: 0 / 337 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09329, allocations: 50.42 MB / 387.4 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/0.3756, allocations: 78.06 MB / 465.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.3758, allocations: 63.97 kB / 465.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006624/0.3824, allocations: 2.632 MB / 468.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.3824, allocations: 0 / 468.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3825, allocations: 4 kB / 468.2 MB, free: 14.15 MB / 346.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.0005108/0.383, allocations: 416.8 kB / 468.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.383, allocations: 8.219 kB / 468.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.3831, allocations: 15.86 kB / 468.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3833, allocations: 203.9 kB / 468.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3833, allocations: 4 kB / 468.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.3834, allocations: 8 kB / 468.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001409/0.3835, allocations: 55.92 kB / 468.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.3838, allocations: 193.2 kB / 469.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3839, allocations: 11.89 kB / 469.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3839, allocations: 3.938 kB / 469.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3839, allocations: 4 kB / 469.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.3845, allocations: 0.5614 MB / 469.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3847, allocations: 133.5 kB / 469.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.3848, allocations: 55.12 kB / 469.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3848, allocations: 0 / 469.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3849, allocations: 42.69 kB / 469.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.3849, allocations: 0 / 469.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002383/0.3851, allocations: 105.6 kB / 470 MB, free: 12.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.3852, allocations: 114.7 kB / 470.1 MB, free: 12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.3853, allocations: 121.4 kB / 470.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3853, allocations: 25.7 kB / 470.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.3854, allocations: 115.9 kB / 470.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3854, allocations: 23.7 kB / 470.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.3854, allocations: 0 / 470.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3855, allocations: 330.8 kB / 470.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.3856, allocations: 24.31 kB / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.3857, allocations: 114.3 kB / 470.8 MB, free: 11.18 MB / 346.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.0001933/0.3859, allocations: 129.1 kB / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3859, allocations: 0 / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000207/0.3861, allocations: 145.3 kB / 471.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3861, allocations: 8 kB / 471.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3861, allocations: 4 kB / 471.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3862, allocations: 4 kB / 471.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3863, allocations: 52.38 kB / 471.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3864, allocations: 16.08 kB / 471.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3865, allocations: 23.77 kB / 471.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3865, allocations: 8 kB / 471.2 MB, free: 10.78 MB / 346.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 () * 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.0001005/0.3866, allocations: 118.9 kB / 471.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3867, allocations: 85.44 kB / 471.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.3868, allocations: 16.62 kB / 471.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3868, allocations: 4 kB / 471.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.3868, allocations: 7.984 kB / 471.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3868, allocations: 0 / 471.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.387, allocations: 170.1 kB / 471.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3871, allocations: 0 / 471.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3873, allocations: 51.84 kB / 471.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3873, allocations: 0 / 471.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3873, allocations: 7.984 kB / 471.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3873, allocations: 0 / 471.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3873, allocations: 0 / 471.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3876, allocations: 361 kB / 472 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3877, allocations: 89.03 kB / 472.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3877, allocations: 7.938 kB / 472.1 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3879, allocations: 8.062 kB / 472.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.3879, allocations: 7.984 kB / 472.1 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3879, allocations: 8 kB / 472.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.224e-05/0.388, allocations: 103.2 kB / 472.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.388, allocations: 0 / 472.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.3883, allocations: 27.84 kB / 472.3 MB, free: 9.629 MB / 346.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 () * 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.0001123/0.3884, allocations: 99.25 kB / 472.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3886, allocations: 91.8 kB / 472.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3886, allocations: 4 kB / 472.5 MB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.3886, allocations: 12 kB / 472.5 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.389, allocations: 50.97 kB / 472.5 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.3896, allocations: 307.9 kB / 472.8 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3899, allocations: 0.7203 MB / 473.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.39, allocations: 13.2 kB / 473.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.39, allocations: 15.38 kB / 473.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.39, allocations: 4 kB / 473.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of Templates: time 0.003071/0.3931, allocations: 1.083 MB / 474.7 MB, free: 7.223 MB / 346.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