Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",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.001484/0.001484, allocations: 175.6 kB / 8.348 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.351/1.351, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.000922/0.0009221, allocations: 106.9 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.538e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 50.41 MB / 387.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4562, allocations: 76.83 MB / 464.4 MB, free: 1.973 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4565, allocations: 63.97 kB / 464.4 MB, free: 1.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00771/0.4642, allocations: 2.202 MB / 466.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4642, allocations: 10.56 kB / 466.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.4642, allocations: 0 / 466.7 MB, free: 15.71 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005163/0.4648, allocations: 387.2 kB / 467 MB, free: 15.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4648, allocations: 12.03 kB / 467 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.4649, allocations: 15.77 kB / 467.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4651, allocations: 182.9 kB / 467.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4651, allocations: 8 kB / 467.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.4652, allocations: 8 kB / 467.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/0.4653, allocations: 40.36 kB / 467.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4655, allocations: 88.52 kB / 467.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4656, allocations: 0 / 467.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4656, allocations: 3.953 kB / 467.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4656, allocations: 4 kB / 467.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.4665, allocations: 0.5136 MB / 467.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.4666, allocations: 70.56 kB / 468 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.4667, allocations: 24.84 kB / 468 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4667, allocations: 0 / 468 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4667, allocations: 34.56 kB / 468 MB, free: 14.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.138e-06/0.4668, allocations: 0 / 468 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002184/0.467, allocations: 69.77 kB / 468.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.467, allocations: 51.41 kB / 468.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4671, allocations: 123.4 kB / 468.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4672, allocations: 25.7 kB / 468.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.4673, allocations: 107.9 kB / 468.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4673, allocations: 27.56 kB / 468.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.4673, allocations: 3.938 kB / 468.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4675, allocations: 326.8 kB / 468.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.205e-05/0.4675, allocations: 20 kB / 468.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.4676, allocations: 56.28 kB / 468.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.4677, allocations: 20.75 kB / 468.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4677, allocations: 0 / 468.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002154/0.468, allocations: 105.4 kB / 468.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.468, allocations: 4.125 kB / 468.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.468, allocations: 4 kB / 469 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.468, allocations: 4 kB / 469 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.4683, allocations: 35.92 kB / 469 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4683, allocations: 8 kB / 469 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4684, allocations: 15.92 kB / 469 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.4684, allocations: 4 kB / 469 MB, free: 13.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.728e-05/0.4685, allocations: 108.9 kB / 469.1 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001645/0.4687, allocations: 74.39 kB / 469.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.4688, allocations: 3.906 kB / 469.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.4688, allocations: 12.62 kB / 469.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4688, allocations: 0 / 469.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4688, allocations: 0 / 469.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4688, allocations: 3.984 kB / 469.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.4691, allocations: 174 kB / 469.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4691, allocations: 0 / 469.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.4693, allocations: 31.98 kB / 469.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4693, allocations: 0 / 469.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4693, allocations: 4 kB / 469.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4693, allocations: 0 / 469.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4694, allocations: 0 / 469.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.4696, allocations: 195.6 kB / 469.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.4697, allocations: 81.02 kB / 469.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4697, allocations: 11.88 kB / 469.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4699, allocations: 8 kB / 469.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4699, allocations: 7.984 kB / 469.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4699, allocations: 0 / 469.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.47, allocations: 103.2 kB / 469.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.47, allocations: 0 / 469.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.4704, allocations: 16 kB / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005518/0.471, allocations: 0.7269 MB / 470.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.4712, allocations: 47.94 kB / 470.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4712, allocations: 4 kB / 470.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.4712, allocations: 23.94 kB / 470.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4716, allocations: 21.77 kB / 470.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.4725, allocations: 304.7 kB / 471 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4729, allocations: 0.7041 MB / 471.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.4729, allocations: 8.422 kB / 471.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.473, allocations: 27.44 kB / 471.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.473, allocations: 0 / 471.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.496, allocations: 1.673 MB / 473.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.4963, allocations: 162.7 kB / 473.5 MB, free: 8.402 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.978, allocations: 0 / 473.5 MB, free: 8.402 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat