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.001494/0.001494, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 72.48 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 50.52 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004573/0.1343, allocations: 2.052 MB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1353, allocations: 0.5415 MB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1354, allocations: 7.938 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1356, allocations: 15.8 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.914e-05/0.1357, allocations: 31.7 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1361, allocations: 55.88 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1363, allocations: 123.6 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1365, allocations: 53.78 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1366, allocations: 55.78 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1367, allocations: 51.7 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1367, allocations: 19.94 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.362e-05/0.1368, allocations: 8 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1368, allocations: 27.92 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.1369, allocations: 59.67 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1371, allocations: 131.8 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1372, allocations: 0 / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1372, allocations: 0 / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1372, allocations: 0 / 360.7 MB, free: 10.87 MB / 302.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.000766/0.1379, allocations: 435 kB / 361.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.138, allocations: 12.02 kB / 361.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.1381, allocations: 16.75 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1383, allocations: 198.8 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1384, allocations: 16.31 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1384, allocations: 12.38 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.139, allocations: 234.8 kB / 361.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.139, allocations: 4 kB / 361.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.139, allocations: 7.938 kB / 361.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.139, allocations: 4 kB / 361.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.1393, allocations: 79.88 kB / 361.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.14, allocations: 0.5959 MB / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.1404, allocations: 159.8 kB / 362.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1405, allocations: 70.64 kB / 362.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1406, allocations: 8 kB / 362.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1406, allocations: 38.5 kB / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1406, allocations: 0 / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005322/0.1412, allocations: 185.3 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.1413, allocations: 118.9 kB / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1414, allocations: 132.6 kB / 363 MB, free: 8.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1414, allocations: 29.7 kB / 363 MB, free: 8.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1415, allocations: 112 kB / 363.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1415, allocations: 27.7 kB / 363.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.1416, allocations: 33.7 kB / 363.2 MB, free: 8.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1417, allocations: 326.8 kB / 363.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1419, allocations: 39.97 kB / 363.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.142, allocations: 141.2 kB / 363.7 MB, free: 7.547 MB / 302.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.0005167/0.1426, allocations: 281.9 kB / 363.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1426, allocations: 0 / 363.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003824/0.143, allocations: 205 kB / 364.1 MB, free: 7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.143, allocations: 11.66 kB / 364.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.143, allocations: 4 kB / 364.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.1431, allocations: 7.938 kB / 364.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1432, allocations: 43.97 kB / 364.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1432, allocations: 11.88 kB / 364.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1434, allocations: 20.38 kB / 364.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1434, allocations: 8 kB / 364.3 MB, free: 6.898 MB / 302.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.0001332/0.1435, allocations: 137.6 kB / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.1437, allocations: 89.53 kB / 364.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.1438, allocations: 16.72 kB / 364.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1438, allocations: 4 kB / 364.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1438, allocations: 3.984 kB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1438, allocations: 4 kB / 364.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.1441, allocations: 217.4 kB / 364.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1441, allocations: 3.938 kB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.1444, allocations: 39.97 kB / 364.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1444, allocations: 4 kB / 364.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1444, allocations: 4 kB / 364.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1444, allocations: 4 kB / 364.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1444, allocations: 3.984 kB / 364.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.145, allocations: 383.3 kB / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.1451, allocations: 93.12 kB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1451, allocations: 3.984 kB / 365.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1453, allocations: 8 kB / 365.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.1453, allocations: 11.97 kB / 365.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1454, allocations: 4 kB / 365.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.1454, allocations: 109.9 kB / 365.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1454, allocations: 0 / 365.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.1458, allocations: 24 kB / 365.4 MB, free: 5.652 MB / 302.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.0001602/0.1459, allocations: 107.2 kB / 365.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.1464, allocations: 132.5 kB / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1464, allocations: 0 / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1465, allocations: 31.91 kB / 365.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.1471, allocations: 68.25 kB / 365.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.1481, allocations: 414.1 kB / 366.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1484, allocations: 0.7201 MB / 366.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.1484, allocations: 9.078 kB / 366.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.1485, allocations: 15.44 kB / 366.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1485, allocations: 4 kB / 366.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of Templates: time 0.00442/0.1529, allocations: 1.327 MB / 368.2 MB, free: 2.805 MB / 302.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/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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches