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: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001847/0.001847, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002093, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 59.28 kB / 307 MB, free: 464 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 50.54 MB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004378/0.1121, allocations: 2.052 MB / 359.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1136, allocations: 0.5377 MB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1138, allocations: 3.938 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.114, allocations: 19.8 kB / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1142, allocations: 23.78 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1146, allocations: 63.88 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1149, allocations: 131.5 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.1151, allocations: 53.8 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1153, allocations: 51.78 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1154, allocations: 59.7 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.1154, allocations: 12 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.1155, allocations: 8 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1155, allocations: 23.92 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.1156, allocations: 55.67 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1159, allocations: 131.8 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.1159, allocations: 0 / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1159, allocations: 3.938 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1159, allocations: 0 / 360.8 MB, free: 10.67 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.000775/0.1167, allocations: 435 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.1168, allocations: 12.03 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.738e-05/0.1168, allocations: 46.73 kB / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.1169, allocations: 12.75 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1172, allocations: 207.1 kB / 361.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1172, allocations: 8.375 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.1172, allocations: 16.28 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.1178, allocations: 242.7 kB / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1178, allocations: 0 / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1178, allocations: 8 kB / 361.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1178, allocations: 3.984 kB / 361.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1181, allocations: 87.88 kB / 361.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.1188, allocations: 0.5959 MB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1193, allocations: 143.9 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1194, allocations: 86.56 kB / 362.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1195, allocations: 4 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1195, allocations: 34.56 kB / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1195, allocations: 0 / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005409/0.1201, allocations: 185.2 kB / 362.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1202, allocations: 110.8 kB / 363 MB, free: 8.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1203, allocations: 140.5 kB / 363.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1204, allocations: 33.7 kB / 363.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.1204, allocations: 112 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1205, allocations: 23.7 kB / 363.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.1206, allocations: 37.84 kB / 363.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1207, allocations: 326.8 kB / 363.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1208, allocations: 35.97 kB / 363.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.121, allocations: 141.2 kB / 363.8 MB, free: 7.289 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.0005965/0.1216, allocations: 282.6 kB / 364.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1217, allocations: 3.938 kB / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004082/0.1221, allocations: 193.1 kB / 364.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1221, allocations: 8 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1221, allocations: 0 / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.1221, allocations: 8.469 kB / 364.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1223, allocations: 51.91 kB / 364.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.1224, allocations: 15.92 kB / 364.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1225, allocations: 19.89 kB / 364.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1225, allocations: 8 kB / 364.4 MB, free: 6.637 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.000136/0.1226, allocations: 137.6 kB / 364.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.1228, allocations: 89.95 kB / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1229, allocations: 12.72 kB / 364.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1229, allocations: 11.94 kB / 364.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.1229, allocations: 96 / 364.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1229, allocations: 8.109 kB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1233, allocations: 217.5 kB / 364.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1233, allocations: 0 / 364.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.1235, allocations: 47.94 kB / 364.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.1235, allocations: 4 kB / 364.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1235, allocations: 4 kB / 364.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1235, allocations: 0 / 364.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1236, allocations: 4 kB / 364.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.1241, allocations: 383.3 kB / 365.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1242, allocations: 92.89 kB / 365.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1242, allocations: 4 kB / 365.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1244, allocations: 16.05 kB / 365.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1244, allocations: 4 kB / 365.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1245, allocations: 4 kB / 365.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.548e-05/0.1245, allocations: 105.7 kB / 365.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1246, allocations: 0 / 365.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.1249, allocations: 28 kB / 365.6 MB, free: 5.387 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.000876/0.1258, allocations: 0.9192 MB / 366.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1262, allocations: 128.4 kB / 366.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1262, allocations: 0 / 366.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1263, allocations: 31.92 kB / 366.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.1269, allocations: 67.5 kB / 366.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.1301, allocations: 2.093 MB / 368.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1305, allocations: 0.7162 MB / 369.5 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.1306, allocations: 9.078 kB / 369.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.1307, allocations: 39.42 kB / 369.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1307, allocations: 0 / 369.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1874/0.3181, allocations: 2.929 MB / 372.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.565, allocations: 12.94 kB / 372.5 MB, free: 19.9 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches