Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 95.61 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.022e-05, allocations: 0 / 337.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 50.42 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4549, allocations: 78.05 MB / 465.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4551, allocations: 71.97 kB / 465.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006874/0.462, allocations: 2.641 MB / 468.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.462, allocations: 0 / 468.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.462, allocations: 4 kB / 468.3 MB, free: 13.98 MB / 346.7 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.0004485/0.4625, allocations: 415 kB / 468.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4625, allocations: 8.031 kB / 468.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.4626, allocations: 15.86 kB / 468.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.4628, allocations: 198.8 kB / 468.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4628, allocations: 4 kB / 468.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4628, allocations: 12 kB / 469 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001476/0.463, allocations: 59.98 kB / 469 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.4633, allocations: 195.1 kB / 469.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4633, allocations: 3.953 kB / 469.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4633, allocations: 7.938 kB / 469.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4634, allocations: 4 kB / 469.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.4639, allocations: 0.5614 MB / 469.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.4641, allocations: 125.5 kB / 469.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.4642, allocations: 58.7 kB / 470 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4643, allocations: 8 kB / 470 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4643, allocations: 30.66 kB / 470 MB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4643, allocations: 4 kB / 470 MB, free: 12.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002332/0.4645, allocations: 101.4 kB / 470.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.4646, allocations: 114.7 kB / 470.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.4647, allocations: 127.1 kB / 470.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4647, allocations: 25.7 kB / 470.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.4648, allocations: 111.9 kB / 470.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4648, allocations: 23.7 kB / 470.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.4648, allocations: 0 / 470.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.4649, allocations: 326.8 kB / 470.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.465, allocations: 24.38 kB / 470.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.4651, allocations: 118.4 kB / 470.9 MB, free: 11.02 MB / 346.7 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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.4653, allocations: 135.6 kB / 471.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4653, allocations: 4 kB / 471.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002145/0.4655, allocations: 145.2 kB / 471.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4655, allocations: 9.25 kB / 471.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4655, allocations: 480 / 471.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4655, allocations: 12 kB / 471.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4657, allocations: 47.91 kB / 471.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4657, allocations: 7.938 kB / 471.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4658, allocations: 19.92 kB / 471.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.4659, allocations: 12 kB / 471.3 MB, free: 10.61 MB / 346.7 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 = 0.0. 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.466, allocations: 118.4 kB / 471.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002053/0.4662, allocations: 113.4 kB / 471.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4662, allocations: 7.906 kB / 471.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.4663, allocations: 20.61 kB / 471.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4663, allocations: 0 / 471.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4663, allocations: 4 kB / 471.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4663, allocations: 0 / 471.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4665, allocations: 178 kB / 471.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4665, allocations: 3.938 kB / 471.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.4667, allocations: 51.89 kB / 471.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4668, allocations: 4.031 kB / 471.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4668, allocations: 4 kB / 471.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4668, allocations: 0 / 471.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4668, allocations: 0 / 471.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.4671, allocations: 360.2 kB / 472.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.4671, allocations: 88.95 kB / 472.3 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4672, allocations: 4 kB / 472.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4673, allocations: 15.92 kB / 472.3 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.4674, allocations: 7.953 kB / 472.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.4674, allocations: 4 kB / 472.3 MB, free: 9.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.4674, allocations: 99.27 kB / 472.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4674, allocations: 0 / 472.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.4678, allocations: 32 kB / 472.4 MB, free: 9.422 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005357/0.4683, allocations: 1.034 MB / 473.5 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.4685, allocations: 85.97 kB / 473.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4685, allocations: 0 / 473.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.4685, allocations: 20.03 kB / 473.6 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4688, allocations: 46.73 kB / 473.6 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.4697, allocations: 349.3 kB / 474 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.47, allocations: 0.7203 MB / 474.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.47, allocations: 13.2 kB / 474.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.4701, allocations: 43.42 kB / 474.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4701, allocations: 0 / 474.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.4892, allocations: 2.228 MB / 477 MB, free: 4.836 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.4895, allocations: 195.1 kB / 477.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.105, allocations: 5.344 kB / 477.1 MB, free: 4.633 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat does not exist to compare? outputFormat=mat