Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008427, allocations: 93.45 kB / 297.2 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.194, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08922/0.2832, allocations: 79.39 MB / 488.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.2835, allocations: 83.95 kB / 489 MB, free: 11.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006691/0.2902, allocations: 2.513 MB / 491.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2903, allocations: 0 / 491.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.2903, allocations: 7.984 kB / 491.5 MB, free: 8.609 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005038/0.2908, allocations: 442.8 kB / 491.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2908, allocations: 8.031 kB / 491.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.2909, allocations: 42.56 kB / 492 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.291, allocations: 31.8 kB / 492 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.2913, allocations: 240.2 kB / 492.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2914, allocations: 8.188 kB / 492.3 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.2914, allocations: 11.95 kB / 492.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.2919, allocations: 304.1 kB / 492.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.292, allocations: 3.938 kB / 492.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.292, allocations: 0 / 492.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.292, allocations: 7.938 kB / 492.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.2922, allocations: 87.89 kB / 492.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.2928, allocations: 431.5 kB / 493.1 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.2933, allocations: 306.4 kB / 493.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.2933, allocations: 15.94 kB / 493.4 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2933, allocations: 35.91 kB / 493.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2934, allocations: 0 / 493.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005433/0.2939, allocations: 237.2 kB / 493.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.294, allocations: 188.5 kB / 493.8 MB, free: 5.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.2942, allocations: 158.4 kB / 494 MB, free: 5.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2942, allocations: 29.7 kB / 494 MB, free: 5.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2943, allocations: 108 kB / 494.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.2943, allocations: 15.89 kB / 494.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2943, allocations: 0 / 494.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2944, allocations: 334.7 kB / 494.5 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.2945, allocations: 23.98 kB / 494.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2946, allocations: 126.6 kB / 494.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.2947, allocations: 47.97 kB / 494.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2947, allocations: 4 kB / 494.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002625/0.295, allocations: 165.3 kB / 494.8 MB, free: 4.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.295, allocations: 4 kB / 494.8 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.295, allocations: 4 kB / 494.8 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2951, allocations: 11.98 kB / 494.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2952, allocations: 32.3 kB / 494.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.2952, allocations: 15.92 kB / 494.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.2953, allocations: 12.31 kB / 494.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2954, allocations: 12 kB / 494.9 MB, free: 4.781 MB / 362.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001084/0.2955, allocations: 141.7 kB / 495.1 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.2958, allocations: 149.3 kB / 495.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.2958, allocations: 21.41 kB / 495.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2958, allocations: 8.016 kB / 495.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2958, allocations: 4 kB / 495.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2958, allocations: 0 / 495.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2961, allocations: 221.4 kB / 495.5 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2961, allocations: 0 / 495.5 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2963, allocations: 43.91 kB / 495.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2963, allocations: 4 kB / 495.5 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2963, allocations: 4 kB / 495.5 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2963, allocations: 4 kB / 495.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2963, allocations: 0 / 495.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.2967, allocations: 429.4 kB / 495.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.2968, allocations: 108.9 kB / 496 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.2968, allocations: 4 kB / 496 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.297, allocations: 23.98 kB / 496.1 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.297, allocations: 7.953 kB / 496.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2971, allocations: 4 kB / 496.1 MB, free: 3.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.2972, allocations: 141.1 kB / 496.2 MB, free: 3.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2972, allocations: 0 / 496.2 MB, free: 3.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.2975, allocations: 20 kB / 496.2 MB, free: 3.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0007886/0.2983, allocations: 1.226 MB / 497.5 MB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.2986, allocations: 123.8 kB / 497.6 MB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2986, allocations: 0 / 497.6 MB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.2986, allocations: 13.06 kB / 497.6 MB, free: 1.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2991, allocations: 116.5 kB / 497.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3017, allocations: 3.263 MB / 0.4892 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.302, allocations: 0.7319 MB / 0.4899 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.3021, allocations: 13.55 kB / 0.49 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.3022, allocations: 39.42 kB / 0.49 GB, free: 13.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3022, allocations: 0 / 0.49 GB, free: 13.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.3153, allocations: 2.984 MB / 0.4929 GB, free: 10.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.3155, allocations: 204.4 kB / 0.4931 GB, free: 10.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.009, allocations: 0 / 0.4931 GB, free: 10.59 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat