Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 202.1 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.649/1.649, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007918/0.0007918, allocations: 93.78 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.963e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09823, allocations: 51.47 MB / 395.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.4244, allocations: 77.33 MB / 472.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4247, allocations: 72.48 kB / 472.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00485/0.4296, allocations: 1.727 MB / 474.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4296, allocations: 4 kB / 474.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4296, allocations: 0 / 474.4 MB, free: 12.84 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003734/0.43, allocations: 370.2 kB / 474.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4301, allocations: 8.781 kB / 474.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.4302, allocations: 30.05 kB / 474.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.4304, allocations: 192.7 kB / 475 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4304, allocations: 0.8594 kB / 475 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.4305, allocations: 8 kB / 475 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.599e-05/0.4305, allocations: 27.78 kB / 475 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4307, allocations: 127.2 kB / 475.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4308, allocations: 0.7969 kB / 475.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4308, allocations: 0 / 475.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4308, allocations: 4 kB / 475.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.4311, allocations: 265.9 kB / 475.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.4312, allocations: 89.97 kB / 475.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.4313, allocations: 36.48 kB / 475.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4313, allocations: 0.6094 kB / 475.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.4313, allocations: 42.88 kB / 475.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4313, allocations: 0 / 475.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001797/0.4315, allocations: 68.66 kB / 475.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4316, allocations: 133.7 kB / 475.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4317, allocations: 130.9 kB / 475.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4317, allocations: 29.7 kB / 475.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.4317, allocations: 89.55 kB / 476 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.4318, allocations: 11.88 kB / 476 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.4318, allocations: 0 / 476 MB, free: 11.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.4318, allocations: 317.5 kB / 476.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.4318, allocations: 7.375 kB / 476.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.4319, allocations: 45.86 kB / 476.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.4319, allocations: 12.75 kB / 476.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4319, allocations: 0 / 476.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.82e-05/0.432, allocations: 74.02 kB / 476.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.432, allocations: 4.703 kB / 476.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.432, allocations: 7.984 kB / 476.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4321, allocations: 0 / 476.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.4322, allocations: 22.11 kB / 476.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.4322, allocations: 6.891 kB / 476.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.4322, allocations: 5.641 kB / 476.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4322, allocations: 0 / 476.5 MB, free: 10.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.382e-05/0.4323, allocations: 109 kB / 476.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001022/0.4324, allocations: 73.56 kB / 476.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.4324, allocations: 11.84 kB / 476.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.4325, allocations: 13.94 kB / 476.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4325, allocations: 4 kB / 476.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4325, allocations: 4.688 kB / 476.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4325, allocations: 0 / 476.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.4326, allocations: 163 kB / 476.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4326, allocations: 4.75 kB / 476.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.4327, allocations: 14.61 kB / 476.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.4327, allocations: 7.953 kB / 476.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.4327, allocations: 3.703 kB / 476.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4327, allocations: 0.6094 kB / 476.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4327, allocations: 4 kB / 476.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.4329, allocations: 220.5 kB / 477.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.4329, allocations: 92.7 kB / 477.2 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.433, allocations: 4.609 kB / 477.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.433, allocations: 5.453 kB / 477.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.4331, allocations: 4.141 kB / 477.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.4331, allocations: 4.75 kB / 477.2 MB, free: 9.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.4331, allocations: 111.5 kB / 477.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4331, allocations: 0 / 477.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.4334, allocations: 8 kB / 477.4 MB, free: 9.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0002876/0.4337, allocations: 0.959 MB / 478.3 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.4338, allocations: 28.25 kB / 478.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4338, allocations: 0 / 478.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.4338, allocations: 5.266 kB / 478.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.4341, allocations: 42.34 kB / 478.4 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.4345, allocations: 158.5 kB / 478.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.4346, allocations: 0.701 MB / 479.3 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.567e-05/0.4346, allocations: 6.266 kB / 479.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.4347, allocations: 24.8 kB / 479.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4347, allocations: 0 / 479.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.4538, allocations: 1.401 MB / 480.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.454, allocations: 152.3 kB / 480.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.871, allocations: 0 / 480.8 MB, free: 6.84 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat