Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, 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.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008302, allocations: 93.05 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.788e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09833, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4213, allocations: 77.17 MB / 472.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4216, allocations: 71.84 kB / 472.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006145/0.4277, allocations: 2.214 MB / 474.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4278, allocations: 0 / 474.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4278, allocations: 0 / 474.7 MB, free: 12.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003376/0.4281, allocations: 365.3 kB / 475.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4282, allocations: 10.22 kB / 475.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.4284, allocations: 20.52 kB / 475.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.4286, allocations: 197.4 kB / 475.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4286, allocations: 0 / 475.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4286, allocations: 11.61 kB / 475.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.531e-05/0.4287, allocations: 16.23 kB / 475.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.4289, allocations: 102.1 kB / 475.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4289, allocations: 1.406 kB / 475.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4289, allocations: 0 / 475.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4289, allocations: 3.984 kB / 475.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.4293, allocations: 264.4 kB / 475.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.4294, allocations: 63.61 kB / 475.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.4294, allocations: 28.73 kB / 475.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4294, allocations: 4 kB / 475.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4295, allocations: 36.23 kB / 475.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4295, allocations: 0 / 475.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.4296, allocations: 56.39 kB / 475.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4297, allocations: 110.8 kB / 476 MB, free: 11.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.4298, allocations: 122.7 kB / 476.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4298, allocations: 25.7 kB / 476.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.4298, allocations: 93.67 kB / 476.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.4299, allocations: 3.938 kB / 476.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4299, allocations: 0 / 476.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.4299, allocations: 325.2 kB / 476.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.43, allocations: 10.69 kB / 476.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.43, allocations: 24.8 kB / 476.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.43, allocations: 9.531 kB / 476.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.43, allocations: 0 / 476.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.97e-05/0.4301, allocations: 59.83 kB / 476.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4301, allocations: 9.641 kB / 476.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4301, allocations: 2.125 kB / 476.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4302, allocations: 0 / 476.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.4302, allocations: 17.34 kB / 476.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4303, allocations: 0 / 476.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.4303, allocations: 5.219 kB / 476.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4303, allocations: 0 / 476.7 MB, free: 10.74 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.028e-05/0.4304, allocations: 114.4 kB / 476.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.914e-05/0.4305, allocations: 58.06 kB / 476.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.4305, allocations: 9.078 kB / 476.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.4305, allocations: 12.8 kB / 476.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4305, allocations: 4 kB / 476.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4306, allocations: 0 / 476.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4306, allocations: 1.5 kB / 476.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.4307, allocations: 153.3 kB / 477 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4307, allocations: 96 / 477 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.4308, allocations: 14.72 kB / 477 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4308, allocations: 0 / 477 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4308, allocations: 0 / 477 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4308, allocations: 10.88 kB / 477 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4308, allocations: 0 / 477 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4309, allocations: 192.2 kB / 477.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.431, allocations: 93.33 kB / 477.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.431, allocations: 0 / 477.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.4311, allocations: 5.641 kB / 477.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.4311, allocations: 0 / 477.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4311, allocations: 4 kB / 477.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.4312, allocations: 112 kB / 477.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4312, allocations: 7.938 kB / 477.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.4314, allocations: 7.938 kB / 477.5 MB, free: 9.934 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0003668/0.4318, allocations: 0.8632 MB / 478.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.4319, allocations: 25.59 kB / 478.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4319, allocations: 0 / 478.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.4319, allocations: 4 kB / 478.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.4322, allocations: 19.72 kB / 478.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.4326, allocations: 137.5 kB / 478.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.4328, allocations: 0.7021 MB / 479.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4328, allocations: 4.375 kB / 479.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.4329, allocations: 16.97 kB / 479.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4329, allocations: 0 / 479.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.4537, allocations: 1.073 MB / 480.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.4539, allocations: 152.2 kB / 480.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.905, allocations: 0 / 480.4 MB, free: 7.336 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat