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.0009011/0.0009012, allocations: 98.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009691/0.0009692, allocations: 204.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 4 kB / 306.6 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 51.49 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002665/0.1204, allocations: 1.7 MB / 359.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.1215, allocations: 0.5069 MB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.1216, allocations: 3.938 kB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.1216, allocations: 11.92 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1217, allocations: 31.88 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.122, allocations: 43.94 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1222, allocations: 87.83 kB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1223, allocations: 45.31 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.1224, allocations: 43.78 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.1225, allocations: 43.78 kB / 360.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1225, allocations: 4 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.692e-05/0.1225, allocations: 4 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.1226, allocations: 27.84 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.1226, allocations: 45.64 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1227, allocations: 96.03 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1227, allocations: 0 / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1228, allocations: 3.938 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1228, allocations: 0 / 360.8 MB, free: 11.23 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.0005582/0.1233, allocations: 407.6 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1234, allocations: 16.03 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1234, allocations: 11.81 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1237, allocations: 206.8 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1237, allocations: 11.94 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1238, allocations: 15.95 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.1242, allocations: 226.7 kB / 361.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1243, allocations: 7.844 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1243, allocations: 4 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1243, allocations: 4 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.1246, allocations: 91.88 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.1253, allocations: 0.5999 MB / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1256, allocations: 151.9 kB / 362.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1256, allocations: 8.203 kB / 362.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1257, allocations: 34.56 kB / 362.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1257, allocations: 0 / 362.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004963/0.1262, allocations: 197.3 kB / 362.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.1263, allocations: 111 kB / 362.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1264, allocations: 140.6 kB / 363 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1264, allocations: 29.7 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.1265, allocations: 115.7 kB / 363.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1265, allocations: 28.08 kB / 363.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1265, allocations: 0 / 363.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1266, allocations: 326.8 kB / 363.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1268, allocations: 44.28 kB / 363.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1269, allocations: 154.3 kB / 363.6 MB, free: 8.012 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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1272, allocations: 145.1 kB / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1272, allocations: 4 kB / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003753/0.1276, allocations: 205.2 kB / 364 MB, free: 7.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1276, allocations: 8.469 kB / 364 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1277, allocations: 11.95 kB / 364 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1277, allocations: 4 kB / 364 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1279, allocations: 43.92 kB / 364.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.128, allocations: 7.984 kB / 364.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1281, allocations: 23.84 kB / 364.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1281, allocations: 8 kB / 364.1 MB, free: 7.535 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 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 () * 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.0001131/0.1282, allocations: 137.7 kB / 364.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.1284, allocations: 93.44 kB / 364.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1284, allocations: 16.72 kB / 364.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1284, allocations: 7.953 kB / 364.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1284, allocations: 0 / 364.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1285, allocations: 4 kB / 364.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.1287, allocations: 201.6 kB / 364.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1287, allocations: 4 kB / 364.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.129, allocations: 47.91 kB / 364.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.129, allocations: 4 kB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.129, allocations: 8 kB / 364.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.129, allocations: 0 / 364.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.129, allocations: 3.953 kB / 364.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.1296, allocations: 425.3 kB / 365 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.1297, allocations: 92.91 kB / 365.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1297, allocations: 4 kB / 365.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1299, allocations: 16.05 kB / 365.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1299, allocations: 12.22 kB / 365.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1299, allocations: 4 kB / 365.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.211e-05/0.13, allocations: 101.8 kB / 365.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.13, allocations: 0 / 365.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.1303, allocations: 27.91 kB / 365.3 MB, free: 6.234 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 (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.000113/0.1304, allocations: 107.2 kB / 365.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1308, allocations: 136.6 kB / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1308, allocations: 8 kB / 365.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1309, allocations: 39.92 kB / 365.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1313, allocations: 63.2 kB / 365.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1324, allocations: 0.49 MB / 366.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1327, allocations: 0.7206 MB / 366.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.1328, allocations: 5.094 kB / 366.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.1328, allocations: 23.42 kB / 366.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1328, allocations: 0 / 366.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of Templates: time 0.004107/0.1369, allocations: 1.122 MB / 368 MB, free: 3.492 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","../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches