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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001296, allocations: 110.3 kB / 17.06 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 351.3 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3486, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.00378/0.3524, allocations: 2.054 MB / 402.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000991/0.3534, allocations: 0.5025 MB / 403.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3535, allocations: 0 / 403.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3537, allocations: 23.8 kB / 403.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.3538, allocations: 35.7 kB / 403.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3542, allocations: 51.88 kB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3544, allocations: 127.6 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.3546, allocations: 53.78 kB / 403.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.3547, allocations: 59.72 kB / 403.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.3548, allocations: 55.7 kB / 403.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3548, allocations: 12 kB / 403.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.3548, allocations: 8 kB / 403.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.3549, allocations: 23.92 kB / 403.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.355, allocations: 59.67 kB / 403.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3552, allocations: 139.3 kB / 403.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3552, allocations: 0 / 403.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3552, allocations: 3.938 kB / 403.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3552, allocations: 4 kB / 403.9 MB, free: 5.691 MB / 318.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.0006579/0.3559, allocations: 436.2 kB / 404.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3559, allocations: 11.89 kB / 404.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.356, allocations: 12.84 kB / 404.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3562, allocations: 208 kB / 404.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3563, allocations: 12.31 kB / 404.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.3563, allocations: 12.38 kB / 404.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.3568, allocations: 235 kB / 404.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3568, allocations: 3.938 kB / 404.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3568, allocations: 12 kB / 404.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3569, allocations: 0 / 404.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.3571, allocations: 87.81 kB / 404.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.3578, allocations: 0.5959 MB / 405.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.3581, allocations: 143.9 kB / 405.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.3583, allocations: 82.56 kB / 405.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3583, allocations: 4 kB / 405.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3583, allocations: 34.56 kB / 405.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3583, allocations: 0 / 405.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004847/0.3588, allocations: 185.5 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.3589, allocations: 110.8 kB / 406.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.359, allocations: 138.2 kB / 406.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3591, allocations: 29.7 kB / 406.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3591, allocations: 119.7 kB / 406.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3592, allocations: 23.7 kB / 406.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.3592, allocations: 33.72 kB / 406.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3594, allocations: 334.7 kB / 406.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3595, allocations: 39.97 kB / 406.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3596, allocations: 135 kB / 406.9 MB, free: 2.363 MB / 318.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.000413/0.3601, allocations: 278.6 kB / 407.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3601, allocations: 4 kB / 407.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003559/0.3604, allocations: 193.2 kB / 407.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3605, allocations: 4 kB / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3605, allocations: 7.984 kB / 407.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3605, allocations: 4 kB / 407.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3607, allocations: 48.39 kB / 407.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3607, allocations: 8 kB / 407.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.3608, allocations: 19.83 kB / 407.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3608, allocations: 16 kB / 407.5 MB, free: 1.719 MB / 318.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.0001159/0.3609, allocations: 134 kB / 407.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3611, allocations: 93.45 kB / 407.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.3611, allocations: 16.72 kB / 407.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3612, allocations: 4 kB / 407.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3612, allocations: 0 / 407.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3612, allocations: 4 kB / 407.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3614, allocations: 221.4 kB / 407.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3615, allocations: 0 / 407.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.3617, allocations: 43.91 kB / 408 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3617, allocations: 0 / 408 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3617, allocations: 8 kB / 408 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3617, allocations: 0 / 408 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3617, allocations: 0 / 408 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.3623, allocations: 394.6 kB / 408.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3624, allocations: 85.05 kB / 408.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3624, allocations: 4 kB / 408.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3625, allocations: 15.98 kB / 408.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3626, allocations: 4.062 kB / 408.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3626, allocations: 7.984 kB / 408.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.024e-05/0.3627, allocations: 106 kB / 408.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3627, allocations: 0 / 408.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.363, allocations: 31.94 kB / 408.6 MB, free: 476 kB / 318.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.0001072/0.3631, allocations: 103.2 kB / 408.7 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.3634, allocations: 131.9 kB / 408.8 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3635, allocations: 0 / 408.8 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.3636, allocations: 31.92 kB / 408.9 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.364, allocations: 62.44 kB / 408.9 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.3649, allocations: 435.8 kB / 409.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3652, allocations: 0.7162 MB / 410.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.255e-05/0.3652, allocations: 9.094 kB / 410.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.3653, allocations: 19.38 kB / 410.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3653, allocations: 0 / 410.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003926/0.3692, allocations: 1.343 MB / 411.4 MB, free: 13.6 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches