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.001058/0.001058, allocations: 174.9 kB / 13.63 MB, free: 1.684 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.338/1.338, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.0007975/0.0007973, allocations: 87.67 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.32e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09125, allocations: 50.41 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3833, allocations: 77.49 MB / 471.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3836, allocations: 71.95 kB / 471.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006112/0.3897, allocations: 2.211 MB / 474.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3898, allocations: 2.625 kB / 474.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3898, allocations: 4 kB / 474.1 MB, free: 7.715 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.0004206/0.3902, allocations: 387.3 kB / 474.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3903, allocations: 12.03 kB / 474.5 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.3903, allocations: 39.42 kB / 474.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.3904, allocations: 23.77 kB / 474.6 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3905, allocations: 186.9 kB / 474.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3905, allocations: 8.188 kB / 474.8 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3906, allocations: 8 kB / 474.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3908, allocations: 108.7 kB / 474.9 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3908, allocations: 3.984 kB / 474.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3908, allocations: 3.953 kB / 474.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3908, allocations: 4 kB / 474.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.3909, allocations: 51.88 kB / 474.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.3917, allocations: 0.548 MB / 475.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3918, allocations: 62.62 kB / 475.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.3919, allocations: 24.86 kB / 475.6 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3919, allocations: 0 / 475.6 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3919, allocations: 42.5 kB / 475.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3919, allocations: 3.938 kB / 475.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000175/0.3921, allocations: 69.81 kB / 475.7 MB, free: 5.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3921, allocations: 51.41 kB / 475.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.3922, allocations: 122.3 kB / 475.9 MB, free: 5.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3923, allocations: 25.7 kB / 475.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.3923, allocations: 111.9 kB / 476 MB, free: 5.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.3924, allocations: 31.55 kB / 476 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.3924, allocations: 0 / 476 MB, free: 5.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3925, allocations: 322.8 kB / 476.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.3925, allocations: 24 kB / 476.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.3926, allocations: 52.23 kB / 476.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.3927, allocations: 23.98 kB / 476.4 MB, free: 5.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3927, allocations: 4 kB / 476.4 MB, free: 5.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001664/0.3928, allocations: 105.5 kB / 476.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3929, allocations: 8 kB / 476.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3929, allocations: 0 / 476.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3929, allocations: 4 kB / 476.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3931, allocations: 43.86 kB / 476.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3931, allocations: 4 kB / 476.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.3932, allocations: 20.05 kB / 476.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3932, allocations: 4 kB / 476.6 MB, free: 4.949 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.148e-05/0.3933, allocations: 105 kB / 476.7 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3933, allocations: 8 kB / 476.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.3934, allocations: 16.56 kB / 476.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3934, allocations: 0 / 476.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3934, allocations: 3.953 kB / 476.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3934, allocations: 0 / 476.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3936, allocations: 201.7 kB / 476.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3936, allocations: 4 kB / 477 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.3937, allocations: 27.92 kB / 477 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3937, allocations: 0 / 477 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3938, allocations: 4 kB / 477 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3938, allocations: 0 / 477 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3938, allocations: 4 kB / 477 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.394, allocations: 191.4 kB / 477.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.394, allocations: 89.11 kB / 477.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3941, allocations: 7.938 kB / 477.3 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.3942, allocations: 16.02 kB / 477.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3942, allocations: 0 / 477.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3942, allocations: 4 kB / 477.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.3943, allocations: 106.2 kB / 477.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3943, allocations: 3.938 kB / 477.4 MB, free: 4.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.3945, allocations: 19.95 kB / 477.4 MB, free: 4.066 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.0004482/0.395, allocations: 0.7327 MB / 478.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.3952, allocations: 55.94 kB / 478.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3952, allocations: 0 / 478.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.3953, allocations: 23.94 kB / 478.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3955, allocations: 25.31 kB / 478.2 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.3962, allocations: 309.3 kB / 478.6 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3965, allocations: 0.7043 MB / 479.3 MB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.3965, allocations: 8.422 kB / 479.3 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.3966, allocations: 31.42 kB / 479.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3966, allocations: 0 / 479.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.4091, allocations: 2.007 MB / 481.3 MB, free: 220 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.4094, allocations: 165.9 kB / 481.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/1.856, allocations: 0 / 481.5 MB, free: 15.99 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