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.001409/0.001409, allocations: 117.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 200.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.386, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.00381/0.3899, allocations: 2.062 MB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.391, allocations: 0.5298 MB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3911, allocations: 4 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3913, allocations: 19.73 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.3914, allocations: 27.78 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.3917, allocations: 55.88 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.3919, allocations: 131.5 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3921, allocations: 57.78 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.3922, allocations: 51.78 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.3923, allocations: 51.72 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.3924, allocations: 15.98 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.3924, allocations: 8 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.3924, allocations: 27.92 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.3925, allocations: 63.66 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3927, allocations: 125.1 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3927, allocations: 4 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3928, allocations: 0 / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3928, allocations: 4 kB / 412 MB, free: 14.3 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.0007503/0.3935, allocations: 427 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3936, allocations: 8.031 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.3936, allocations: 46.73 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.3937, allocations: 24.69 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.394, allocations: 216 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3941, allocations: 16.31 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.3941, allocations: 12.38 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.3946, allocations: 230.7 kB / 412.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3947, allocations: 4 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3947, allocations: 11.98 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3947, allocations: 4 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.395, allocations: 83.88 kB / 413 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.3958, allocations: 0.592 MB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.3962, allocations: 151.9 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3964, allocations: 74.62 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3964, allocations: 0 / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3964, allocations: 42.5 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3964, allocations: 0 / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005492/0.397, allocations: 181.3 kB / 414.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.3971, allocations: 110.8 kB / 414.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3972, allocations: 136.6 kB / 414.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3972, allocations: 29.7 kB / 414.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.3973, allocations: 119.9 kB / 414.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3973, allocations: 27.64 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.3974, allocations: 41.83 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3976, allocations: 318.8 kB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3977, allocations: 39.97 kB / 414.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3979, allocations: 140.7 kB / 415 MB, free: 10.91 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.0004453/0.3983, allocations: 278.7 kB / 415.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3983, allocations: 11.88 kB / 415.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003707/0.3987, allocations: 197.1 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3988, allocations: 7.188 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3988, allocations: 4 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.3988, allocations: 8.469 kB / 415.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.399, allocations: 47.91 kB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.399, allocations: 7.938 kB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3991, allocations: 23.84 kB / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3991, allocations: 8 kB / 415.6 MB, free: 10.26 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.0001375/0.3993, allocations: 149.1 kB / 415.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.3994, allocations: 89.44 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.3995, allocations: 16.72 kB / 415.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3995, allocations: 8 kB / 415.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3995, allocations: 0 / 415.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3995, allocations: 4.219 kB / 415.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3998, allocations: 205.5 kB / 416 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3998, allocations: 0 / 416 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.4, allocations: 43.97 kB / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4, allocations: 3.984 kB / 416.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4001, allocations: 8 kB / 416.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4001, allocations: 3.938 kB / 416.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4001, allocations: 0 / 416.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.4006, allocations: 387.3 kB / 416.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.4007, allocations: 85.05 kB / 416.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.4007, allocations: 11.98 kB / 416.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4009, allocations: 8.062 kB / 416.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.4009, allocations: 11.98 kB / 416.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4009, allocations: 4 kB / 416.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.683e-05/0.401, allocations: 101.5 kB / 416.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.401, allocations: 3.938 kB / 416.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.4014, allocations: 35.84 kB / 416.7 MB, free: 9 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.0008415/0.4022, allocations: 0.9189 MB / 417.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4026, allocations: 128.3 kB / 417.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4026, allocations: 0 / 417.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4027, allocations: 28.06 kB / 417.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4033, allocations: 63.83 kB / 417.9 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.4063, allocations: 2.086 MB / 420 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4066, allocations: 0.7123 MB / 420.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.4067, allocations: 13.08 kB / 420.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.4068, allocations: 39.42 kB / 420.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4068, allocations: 0 / 420.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4351, allocations: 3.047 MB / 423.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.807, allocations: 8.359 kB / 423.8 MB, free: 1.914 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.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