Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008986/0.0008987, allocations: 99.12 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.536e-05, allocations: 0 / 343.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 51.47 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.493, allocations: 77.65 MB / 472.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.4933, allocations: 65.95 kB / 473 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005651/0.499, allocations: 2.264 MB / 475.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.499, allocations: 2.719 kB / 475.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.499, allocations: 3.938 kB / 475.2 MB, free: 12.62 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.0003768/0.4994, allocations: 392.5 kB / 475.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4994, allocations: 9.484 kB / 475.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.4995, allocations: 12.59 kB / 475.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4996, allocations: 190.4 kB / 475.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4997, allocations: 7.984 kB / 475.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.4997, allocations: 8 kB / 475.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.4998, allocations: 40.09 kB / 475.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4999, allocations: 99.28 kB / 476 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5, allocations: 0 / 476 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5, allocations: 4.734 kB / 476 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5, allocations: 4 kB / 476 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.5006, allocations: 0.5051 MB / 476.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.5007, allocations: 62.5 kB / 476.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.5007, allocations: 25.73 kB / 476.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.5007, allocations: 4 kB / 476.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.5008, allocations: 30.56 kB / 476.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.5008, allocations: 3.719 kB / 476.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001533/0.5009, allocations: 75.23 kB / 476.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.5009, allocations: 52.67 kB / 476.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.501, allocations: 119.2 kB / 476.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.501, allocations: 25.7 kB / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.5011, allocations: 115.1 kB / 477 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.5011, allocations: 26.2 kB / 477 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.5011, allocations: 0 / 477 MB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.5011, allocations: 325.1 kB / 477.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.5012, allocations: 18.38 kB / 477.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.5012, allocations: 47.75 kB / 477.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.5013, allocations: 29.75 kB / 477.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5013, allocations: 0 / 477.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001219/0.5014, allocations: 100.1 kB / 477.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5014, allocations: 5.688 kB / 477.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5014, allocations: 0 / 477.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5015, allocations: 4 kB / 477.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.5016, allocations: 40.25 kB / 477.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5016, allocations: 9.391 kB / 477.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.5017, allocations: 13.64 kB / 477.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5017, allocations: 4 kB / 477.6 MB, free: 10.33 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 4.441e-05/0.5018, allocations: 101 kB / 477.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.399e-05/0.5019, allocations: 68.09 kB / 477.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.5019, allocations: 11.84 kB / 477.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.5019, allocations: 17.27 kB / 477.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.502, allocations: 0 / 477.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.502, allocations: 4.078 kB / 477.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.502, allocations: 4 kB / 477.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.5021, allocations: 176.3 kB / 478 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5021, allocations: 0 / 478 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5023, allocations: 20.45 kB / 478 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5023, allocations: 5.453 kB / 478 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5023, allocations: 0 / 478 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5023, allocations: 0 / 478 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5023, allocations: 12.64 kB / 478 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.5025, allocations: 188.5 kB / 478.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.5025, allocations: 81.02 kB / 478.3 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5025, allocations: 5.688 kB / 478.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.5026, allocations: 9.578 kB / 478.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.5027, allocations: 7.141 kB / 478.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.5027, allocations: 12.83 kB / 478.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.5027, allocations: 92.25 kB / 478.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5027, allocations: 0 / 478.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.503, allocations: 16 kB / 478.4 MB, free: 9.535 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.0002837/0.5033, allocations: 0.7211 MB / 479.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5034, allocations: 52.05 kB / 479.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5034, allocations: 0 / 479.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.5034, allocations: 28.42 kB / 479.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5037, allocations: 26.05 kB / 479.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.5042, allocations: 298.5 kB / 479.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.5044, allocations: 0.7036 MB / 480.2 MB, free: 7.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.5044, allocations: 11.67 kB / 480.2 MB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.5045, allocations: 28.84 kB / 480.3 MB, free: 7.727 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5045, allocations: 4 kB / 480.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.5237, allocations: 1.672 MB / 481.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.5239, allocations: 149.5 kB / 482.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.043, allocations: 0 / 482.1 MB, free: 6.59 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat