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.001476/0.001476, allocations: 180.2 kB / 16.38 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009739, allocations: 85.3 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002791, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09794/0.3732, allocations: 77.56 MB / 479.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.3735, allocations: 75.95 kB / 479.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006053/0.3796, allocations: 2.221 MB / 481.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3796, allocations: 0 / 481.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3796, allocations: 4 kB / 481.4 MB, free: 0.5781 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.0005131/0.3801, allocations: 407.2 kB / 481.8 MB, free: 132 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3802, allocations: 8.031 kB / 481.8 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.3802, allocations: 46.48 kB / 481.9 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3803, allocations: 11.86 kB / 481.9 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3805, allocations: 186.8 kB / 482.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3805, allocations: 8.188 kB / 482.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.3805, allocations: 15.94 kB / 482.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3809, allocations: 128.6 kB / 482.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3809, allocations: 0 / 482.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.3809, allocations: 7.953 kB / 482.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.381, allocations: 4 kB / 482.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.3812, allocations: 79.94 kB / 482.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.382, allocations: 0.5403 MB / 482.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.3822, allocations: 82.55 kB / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3822, allocations: 7.984 kB / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3823, allocations: 34.56 kB / 483 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3823, allocations: 0 / 483 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004047/0.3827, allocations: 133.8 kB / 483.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3827, allocations: 59.34 kB / 483.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.3828, allocations: 124.8 kB / 483.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3828, allocations: 25.7 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.3829, allocations: 107.9 kB / 483.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.383, allocations: 31.55 kB / 483.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.383, allocations: 0 / 483.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3831, allocations: 322.8 kB / 483.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3832, allocations: 35.97 kB / 483.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3833, allocations: 72.89 kB / 483.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3835, allocations: 43.92 kB / 483.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3835, allocations: 0 / 483.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002831/0.3837, allocations: 153.4 kB / 484.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3838, allocations: 4 kB / 484.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3838, allocations: 4 kB / 484.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3838, allocations: 0 / 484.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.384, allocations: 35.97 kB / 484.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.384, allocations: 4.266 kB / 484.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.3841, allocations: 12.12 kB / 484.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3841, allocations: 8 kB / 484.1 MB, free: 13.61 MB / 362.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 () * Number of clocked 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.823e-05/0.3842, allocations: 125.8 kB / 484.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3842, allocations: 7.906 kB / 484.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.3843, allocations: 8.375 kB / 484.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3843, allocations: 0 / 484.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3843, allocations: 3.938 kB / 484.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3843, allocations: 11.95 kB / 484.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3845, allocations: 201.6 kB / 484.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3845, allocations: 4 kB / 484.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3846, allocations: 23.98 kB / 484.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3846, allocations: 0 / 484.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3847, allocations: 8 kB / 484.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3847, allocations: 3.984 kB / 484.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3847, allocations: 0 / 484.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.3851, allocations: 251.3 kB / 484.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3852, allocations: 85.05 kB / 484.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3852, allocations: 4 kB / 484.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3853, allocations: 12 kB / 484.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.3853, allocations: 7.984 kB / 484.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3853, allocations: 0 / 484.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.047e-05/0.3854, allocations: 95.27 kB / 485 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3854, allocations: 96 / 485 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.3856, allocations: 23.94 kB / 485 MB, free: 12.66 MB / 362.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 () * Number of clocked 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.0006484/0.3863, allocations: 0.7956 MB / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3866, allocations: 83.89 kB / 485.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3866, allocations: 0 / 485.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3867, allocations: 44.22 kB / 485.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.387, allocations: 18.56 kB / 485.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3884, allocations: 1.495 MB / 487.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3887, allocations: 0.7043 MB / 488.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.3888, allocations: 8.438 kB / 488.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.3888, allocations: 27.42 kB / 488.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3888, allocations: 0 / 488.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.4016, allocations: 2.019 MB / 490.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.4018, allocations: 194.6 kB / 490.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.225, allocations: 7.875 kB / 490.4 MB, free: 7.246 MB / 362.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