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.00191/0.00191, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.002068/0.002068, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.241/2.241, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 44.28 kB / 300.6 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1259, allocations: 49.45 MB / 350.1 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.005248/0.1312, allocations: 2.097 MB / 352.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1325, allocations: 0.4909 MB / 352.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.1328, allocations: 7.938 kB / 352.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1329, allocations: 3.938 kB / 352.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.1331, allocations: 27.78 kB / 352.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1335, allocations: 55.95 kB / 352.7 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.1338, allocations: 123.5 kB / 352.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1341, allocations: 51.7 kB / 352.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1342, allocations: 47.8 kB / 353 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1343, allocations: 59.69 kB / 353 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.1344, allocations: 8 kB / 353 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.41e-05/0.1344, allocations: 8 kB / 353 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.1345, allocations: 23.92 kB / 353.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.1346, allocations: 51.67 kB / 353.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1348, allocations: 96 kB / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1348, allocations: 0 / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1348, allocations: 0 / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1348, allocations: 0 / 353.2 MB, free: 1.707 MB / 286.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.0008503/0.1357, allocations: 443 kB / 353.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1357, allocations: 12.03 kB / 353.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.1358, allocations: 16.69 kB / 353.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1361, allocations: 211.2 kB / 353.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1362, allocations: 12.36 kB / 353.9 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.1362, allocations: 12.38 kB / 353.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.1369, allocations: 230.8 kB / 354.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.1369, allocations: 3.984 kB / 354.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.137, allocations: 8 kB / 354.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.137, allocations: 0 / 354.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.1374, allocations: 83.88 kB / 354.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009575/0.1384, allocations: 0.6038 MB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.1389, allocations: 147.9 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.1391, allocations: 78.62 kB / 355 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1392, allocations: 0 / 355 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1392, allocations: 34.56 kB / 355.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.1392, allocations: 0 / 355.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007522/0.14, allocations: 177.3 kB / 355.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1401, allocations: 122.8 kB / 355.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1403, allocations: 138.1 kB / 355.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1403, allocations: 29.69 kB / 355.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.1404, allocations: 120 kB / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1405, allocations: 19.72 kB / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.1405, allocations: 37.7 kB / 355.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1407, allocations: 322.8 kB / 356 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1409, allocations: 39.97 kB / 356 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.1411, allocations: 140.3 kB / 356.2 MB, free: 14.38 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.0006611/0.1418, allocations: 282.6 kB / 356.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1418, allocations: 4.375 kB / 356.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005885/0.1424, allocations: 201.1 kB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1425, allocations: 4 kB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1425, allocations: 4 kB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.1425, allocations: 11.94 kB / 356.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.1428, allocations: 43.91 kB / 356.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1428, allocations: 8.406 kB / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.143, allocations: 27.89 kB / 356.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.143, allocations: 8 kB / 356.8 MB, free: 13.72 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.0001653/0.1432, allocations: 141.6 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.1435, allocations: 81.59 kB / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.1436, allocations: 20.7 kB / 357 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1436, allocations: 4 kB / 357 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.1436, allocations: 0 / 357 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1436, allocations: 3.938 kB / 357 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.144, allocations: 213.5 kB / 357.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.144, allocations: 0 / 357.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.1444, allocations: 51.95 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1444, allocations: 4.031 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1444, allocations: 4 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1444, allocations: 0 / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1445, allocations: 0 / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.1452, allocations: 387.3 kB / 357.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.1453, allocations: 92.89 kB / 357.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.1454, allocations: 8 kB / 357.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1456, allocations: 7.984 kB / 357.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1457, allocations: 4 kB / 357.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1457, allocations: 12.06 kB / 357.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.027e-05/0.1458, allocations: 102 kB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1458, allocations: 0 / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006114/0.1464, allocations: 32 kB / 357.9 MB, free: 12.47 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.0001355/0.1466, allocations: 107.1 kB / 358 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.1471, allocations: 120.4 kB / 358.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.1471, allocations: 4 kB / 358.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1473, allocations: 27.92 kB / 358.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008339/0.1481, allocations: 71.91 kB / 358.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1495, allocations: 494.5 kB / 358.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1498, allocations: 0.7126 MB / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.1499, allocations: 19.44 kB / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1499, allocations: 0 / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Templates: time 0.004816/0.1548, allocations: 1.602 MB / 361.1 MB, free: 9.27 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/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