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.00129/0.00129, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 50.55 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004236/0.3373, allocations: 2.068 MB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3385, allocations: 0.5377 MB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3387, allocations: 7.938 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3388, allocations: 15.8 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.339, allocations: 27.72 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.3393, allocations: 51.94 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.3396, allocations: 131.5 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.3398, allocations: 61.77 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3399, allocations: 51.78 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.34, allocations: 59.7 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.34, allocations: 8 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.3401, allocations: 12 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.3401, allocations: 23.92 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.3402, allocations: 59.61 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3405, allocations: 130.4 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3405, allocations: 4 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3405, allocations: 0 / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3405, allocations: 0 / 412 MB, free: 14.25 MB / 334.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.0007902/0.3413, allocations: 437.1 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3414, allocations: 8.031 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.3414, allocations: 50.67 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.3415, allocations: 16.84 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.3419, allocations: 216.1 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3419, allocations: 8.375 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.342, allocations: 16.33 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.3426, allocations: 238.7 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3426, allocations: 0 / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3426, allocations: 4 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3426, allocations: 4 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.3429, allocations: 79.88 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.3437, allocations: 0.5999 MB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.3441, allocations: 151.9 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3443, allocations: 78.56 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3443, allocations: 7.938 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3444, allocations: 30.56 kB / 414 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3444, allocations: 4 kB / 414 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005516/0.3449, allocations: 181.5 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.345, allocations: 114.8 kB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3452, allocations: 130.2 kB / 414.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3452, allocations: 29.7 kB / 414.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3453, allocations: 116.1 kB / 414.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3454, allocations: 35.78 kB / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3454, allocations: 33.7 kB / 414.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3456, allocations: 326.8 kB / 414.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3457, allocations: 31.98 kB / 414.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3459, allocations: 144.6 kB / 415.1 MB, free: 10.87 MB / 334.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.0004688/0.3464, allocations: 286.7 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3464, allocations: 7.938 kB / 415.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004052/0.3468, allocations: 201.1 kB / 415.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3469, allocations: 8.469 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3469, allocations: 8 kB / 415.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3469, allocations: 4 kB / 415.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3471, allocations: 43.92 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3471, allocations: 7.984 kB / 415.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3472, allocations: 19.89 kB / 415.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3472, allocations: 8 kB / 415.7 MB, free: 10.21 MB / 334.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.0001343/0.3474, allocations: 133.7 kB / 415.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.3476, allocations: 93.95 kB / 415.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.3476, allocations: 16.72 kB / 415.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3476, allocations: 0 / 415.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-06/0.3477, allocations: 4.094 kB / 415.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3477, allocations: 7.922 kB / 415.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.348, allocations: 213.4 kB / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.348, allocations: 0 / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3482, allocations: 47.91 kB / 416.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3482, allocations: 0 / 416.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3482, allocations: 4 kB / 416.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3483, allocations: 8 kB / 416.2 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3483, allocations: 0 / 416.2 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.3489, allocations: 383.4 kB / 416.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.3489, allocations: 85.09 kB / 416.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.349, allocations: 8.062 kB / 416.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3491, allocations: 15.98 kB / 416.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3492, allocations: 3.938 kB / 416.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3492, allocations: 7.984 kB / 416.7 MB, free: 9.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.3493, allocations: 106 kB / 416.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3493, allocations: 0 / 416.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.3496, allocations: 27.95 kB / 416.8 MB, free: 8.961 MB / 334.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.0008855/0.3505, allocations: 0.9228 MB / 417.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.3509, allocations: 127.8 kB / 417.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3509, allocations: 0 / 417.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.351, allocations: 27.98 kB / 417.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.3516, allocations: 76.73 kB / 418 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3545, allocations: 2.088 MB / 420 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3548, allocations: 0.7162 MB / 420.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.3549, allocations: 13.09 kB / 420.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.355, allocations: 35.42 kB / 420.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.355, allocations: 0 / 420.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3823, allocations: 3.002 MB / 423.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.961/9.343, allocations: 4.297 kB / 423.8 MB, free: 1.906 MB / 334.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.1.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