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.001187/0.001187, allocations: 104.9 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.39 kB / 306.3 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09224, allocations: 50.53 MB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003532/0.09582, allocations: 2.12 MB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.09695, allocations: 0.5376 MB / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.09716, allocations: 0 / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.09733, allocations: 19.86 kB / 359.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.09743, allocations: 19.84 kB / 359.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.09771, allocations: 59.83 kB / 359.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.09788, allocations: 115.6 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.09803, allocations: 53.33 kB / 359.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.09812, allocations: 55.7 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.09821, allocations: 47.72 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.09823, allocations: 8 kB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.09826, allocations: 8 kB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.09829, allocations: 23.92 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.09836, allocations: 63.64 kB / 360 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.0985, allocations: 115.8 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.09852, allocations: 3.984 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09852, allocations: 4 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09853, allocations: 0 / 360.1 MB, free: 10.95 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.0005443/0.09908, allocations: 431 kB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.09913, allocations: 8.031 kB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.09918, allocations: 42.73 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.09922, allocations: 16.75 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.09943, allocations: 204.1 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.09946, allocations: 12.38 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.09951, allocations: 20.28 kB / 360.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.09995, allocations: 226.7 kB / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.09998, allocations: 4 kB / 361.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1, allocations: 4 kB / 361.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1, allocations: 7.938 kB / 361.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1002, allocations: 83.88 kB / 361.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.1009, allocations: 0.6037 MB / 361.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1012, allocations: 143.9 kB / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1014, allocations: 78.56 kB / 362 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1014, allocations: 4 kB / 362 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1014, allocations: 34.56 kB / 362 MB, free: 8.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1014, allocations: 4 kB / 362 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.000467/0.1019, allocations: 185.2 kB / 362.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.102, allocations: 114.8 kB / 362.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1021, allocations: 134.2 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1021, allocations: 29.7 kB / 362.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.1022, allocations: 116.1 kB / 362.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1022, allocations: 23.7 kB / 362.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.1023, allocations: 33.72 kB / 362.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.1024, allocations: 322.8 kB / 363 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1025, allocations: 39.97 kB / 363 MB, free: 7.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1027, allocations: 153 kB / 363.1 MB, free: 7.574 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.0004394/0.1031, allocations: 274.7 kB / 363.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1031, allocations: 11.88 kB / 363.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003544/0.1035, allocations: 193.1 kB / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1035, allocations: 8.469 kB / 363.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1035, allocations: 8 kB / 363.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1035, allocations: 4 kB / 363.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1037, allocations: 51.91 kB / 363.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1037, allocations: 4 kB / 363.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.1038, allocations: 15.89 kB / 363.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1038, allocations: 12 kB / 363.7 MB, free: 6.93 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.000106/0.1039, allocations: 137.6 kB / 363.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.1041, allocations: 97.52 kB / 363.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1042, allocations: 16.72 kB / 364 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1042, allocations: 0 / 364 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1042, allocations: 4.469 kB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1042, allocations: 0 / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1044, allocations: 213.4 kB / 364.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1044, allocations: 3.984 kB / 364.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.1047, allocations: 51.84 kB / 364.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1047, allocations: 3.938 kB / 364.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1047, allocations: 0 / 364.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1047, allocations: 8 kB / 364.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1047, allocations: 0 / 364.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.1052, allocations: 381.3 kB / 364.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1053, allocations: 97.12 kB / 364.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1053, allocations: 4.062 kB / 364.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1054, allocations: 15.98 kB / 364.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1055, allocations: 7.922 kB / 364.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1055, allocations: 4 kB / 364.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.047e-05/0.1055, allocations: 109.8 kB / 364.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1055, allocations: 0 / 364.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1059, allocations: 24 kB / 364.9 MB, free: 5.676 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.0007267/0.1066, allocations: 0.9192 MB / 365.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1069, allocations: 127.8 kB / 365.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1069, allocations: 0 / 365.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.107, allocations: 23.98 kB / 365.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.1076, allocations: 72.81 kB / 366 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1098, allocations: 2.124 MB / 368.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1101, allocations: 0.7204 MB / 368.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.1102, allocations: 9.078 kB / 368.9 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1102, allocations: 39.42 kB / 368.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1102, allocations: 4 kB / 368.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/0.267, allocations: 2.699 MB / 371.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.2672, allocations: 261.2 kB / 371.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.993, allocations: 3.172 kB / 371.9 MB, free: 18.92 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