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.0008858/0.0008858, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002108, allocations: 11.98 kB / 307.8 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.0863, allocations: 51.52 MB / 359.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002092/0.08843, allocations: 1.766 MB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.08931, allocations: 0.5261 MB / 361.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.08943, allocations: 4 kB / 361.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.414e-05/0.08952, allocations: 11.86 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.08961, allocations: 19.86 kB / 361.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.08986, allocations: 55.39 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.09003, allocations: 119.6 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.09016, allocations: 61.38 kB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.09024, allocations: 39.73 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.09032, allocations: 43.72 kB / 362 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.09035, allocations: 8 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.09037, allocations: 4 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.0904, allocations: 23.91 kB / 362 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.09047, allocations: 77.38 kB / 362.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.09059, allocations: 111.8 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.0906, allocations: 0 / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09061, allocations: 0 / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.09062, allocations: 0 / 362.2 MB, free: 10.34 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.0004704/0.09109, allocations: 419 kB / 362.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.09114, allocations: 12.03 kB / 362.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.09119, allocations: 50.67 kB / 362.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.09122, allocations: 8.844 kB / 362.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.09141, allocations: 208.1 kB / 362.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.09143, allocations: 12.31 kB / 362.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.09146, allocations: 16.38 kB / 362.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.0919, allocations: 230.8 kB / 363.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.09192, allocations: 3.938 kB / 363.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.09194, allocations: 8 kB / 363.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.09195, allocations: 4 kB / 363.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.0922, allocations: 94.2 kB / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.09279, allocations: 0.6076 MB / 363.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.0931, allocations: 155.9 kB / 364 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.09326, allocations: 82.58 kB / 364.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.09329, allocations: 7.984 kB / 364.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.09331, allocations: 34.56 kB / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.09332, allocations: 0 / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004816/0.09381, allocations: 197.6 kB / 364.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.09387, allocations: 114.8 kB / 364.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.09397, allocations: 140.7 kB / 364.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.094, allocations: 25.7 kB / 364.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.09406, allocations: 123.9 kB / 364.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.09409, allocations: 23.7 kB / 364.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.09412, allocations: 21.7 kB / 364.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.09422, allocations: 326.8 kB / 365.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.09435, allocations: 43.91 kB / 365.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.09452, allocations: 149.7 kB / 365.3 MB, free: 6.914 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.0004056/0.09493, allocations: 286.6 kB / 365.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.09494, allocations: 4 kB / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000403/0.09535, allocations: 209.5 kB / 365.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.09537, allocations: 8 kB / 365.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.09539, allocations: 4 kB / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.0954, allocations: 4 kB / 365.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.09555, allocations: 47.92 kB / 365.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.09557, allocations: 7.984 kB / 365.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.09567, allocations: 15.91 kB / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.09569, allocations: 12 kB / 365.9 MB, free: 6.254 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 = 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.0001012/0.0958, allocations: 149.6 kB / 366 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.09595, allocations: 85.53 kB / 366.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.096, allocations: 16.72 kB / 366.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.09601, allocations: 0 / 366.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.09602, allocations: 4 kB / 366.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.09603, allocations: 3.984 kB / 366.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.09626, allocations: 209.5 kB / 366.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.09628, allocations: 4 kB / 366.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.09648, allocations: 47.91 kB / 366.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.0965, allocations: 8.172 kB / 366.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.09651, allocations: 4 kB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.09652, allocations: 4 kB / 366.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09653, allocations: 0 / 366.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.09704, allocations: 407.2 kB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.09709, allocations: 88.98 kB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.09712, allocations: 8.078 kB / 366.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.09726, allocations: 20 kB / 366.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.0973, allocations: 3.984 kB / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.09731, allocations: 4 kB / 366.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.09738, allocations: 105.5 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09738, allocations: 0 / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.09769, allocations: 24 kB / 367 MB, free: 4.98 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.0007174/0.09842, allocations: 0.9388 MB / 368 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.09875, allocations: 136.7 kB / 368.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.09876, allocations: 0 / 368.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.09886, allocations: 31.98 kB / 368.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.09933, allocations: 69.16 kB / 368.2 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.1016, allocations: 2.201 MB / 370.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1018, allocations: 0.7165 MB / 371.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.1018, allocations: 13.08 kB / 371.1 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1019, allocations: 35.42 kB / 371.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1019, allocations: 3.938 kB / 371.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/0.2609, allocations: 2.636 MB / 373.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.2611, allocations: 254.7 kB / 374.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.947, allocations: 1.375 kB / 374.1 MB, free: 18.39 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