Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008722/0.0008723, allocations: 93.25 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.382e-05, allocations: 4 kB / 343.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09629, allocations: 51.47 MB / 395.3 MB, free: 4.711 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/0.4072, allocations: 77.15 MB / 472.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4075, allocations: 79.11 kB / 472.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004164/0.4117, allocations: 1.557 MB / 474.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4117, allocations: 7.062 kB / 474.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4117, allocations: 4 kB / 474.1 MB, free: 13.24 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002964/0.412, allocations: 353.4 kB / 474.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4121, allocations: 8.031 kB / 474.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.4122, allocations: 20.16 kB / 474.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.4124, allocations: 197 kB / 474.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4124, allocations: 4.859 kB / 474.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.4125, allocations: 0 / 474.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.339e-05/0.4126, allocations: 19.98 kB / 474.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4127, allocations: 109 kB / 474.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4128, allocations: 0 / 474.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4128, allocations: 0 / 474.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4128, allocations: 0 / 474.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.4131, allocations: 254.2 kB / 475 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.4133, allocations: 131.3 kB / 475.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.4133, allocations: 22.39 kB / 475.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4134, allocations: 4.797 kB / 475.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.4134, allocations: 41.58 kB / 475.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4134, allocations: 0 / 475.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001632/0.4136, allocations: 55.31 kB / 475.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4136, allocations: 77.62 kB / 475.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.4137, allocations: 126.3 kB / 475.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4137, allocations: 25.7 kB / 475.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.4138, allocations: 93.69 kB / 475.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.4138, allocations: 0.8438 kB / 475.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.4138, allocations: 0 / 475.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.4139, allocations: 315.5 kB / 475.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.4139, allocations: 8.688 kB / 475.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.4139, allocations: 27.62 kB / 475.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.414, allocations: 9.312 kB / 475.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.414, allocations: 0 / 475.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.298e-05/0.414, allocations: 64.22 kB / 476 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4141, allocations: 8 kB / 476 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4141, allocations: 0 / 476 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4141, allocations: 4.688 kB / 476 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.4142, allocations: 10.02 kB / 476 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4142, allocations: 4.125 kB / 476 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.4142, allocations: 12.73 kB / 476 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4143, allocations: 0.7031 kB / 476 MB, free: 11.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.683e-05/0.4143, allocations: 108.9 kB / 476.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.918e-05/0.4144, allocations: 57.31 kB / 476.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.4144, allocations: 8.609 kB / 476.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.4145, allocations: 9.109 kB / 476.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4145, allocations: 4 kB / 476.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4145, allocations: 0 / 476.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4145, allocations: 8.625 kB / 476.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.4146, allocations: 148.9 kB / 476.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4147, allocations: 0.7031 kB / 476.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.4147, allocations: 10.11 kB / 476.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4147, allocations: 7.953 kB / 476.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4147, allocations: 4.203 kB / 476.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4147, allocations: 0 / 476.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4148, allocations: 0.7031 kB / 476.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.4149, allocations: 170.2 kB / 476.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.4149, allocations: 95.64 kB / 476.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4149, allocations: 2.531 kB / 476.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.415, allocations: 4.75 kB / 476.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.4151, allocations: 0.75 kB / 476.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.4151, allocations: 0.75 kB / 476.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.4151, allocations: 112.2 kB / 476.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4151, allocations: 0 / 476.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.4154, allocations: 8 kB / 476.8 MB, free: 10.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002446/0.4156, allocations: 0.769 MB / 477.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.4157, allocations: 28.14 kB / 477.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4157, allocations: 0 / 477.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.4157, allocations: 4.844 kB / 477.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.416, allocations: 13.89 kB / 477.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.4163, allocations: 135.4 kB / 477.7 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4164, allocations: 0.6946 MB / 478.4 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.4165, allocations: 5.594 kB / 478.4 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4165, allocations: 19.7 kB / 478.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4165, allocations: 0 / 478.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.4366, allocations: 0.9723 MB / 479.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.4368, allocations: 150.1 kB / 479.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.904, allocations: 0 / 479.6 MB, free: 7.977 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat