Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000852/0.000852, allocations: 111.8 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002159/0.0002159, allocations: 4 kB / 358 MB, free: 9.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1864, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08472/0.2712, allocations: 77.9 MB / 487.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.2714, allocations: 87.88 kB / 487.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005704/0.2772, allocations: 2.227 MB / 489.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2772, allocations: 0 / 489.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2772, allocations: 4 kB / 489.7 MB, free: 10.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003538/0.2776, allocations: 375 kB / 490.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2776, allocations: 8.031 kB / 490.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.2776, allocations: 38.56 kB / 490.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.2778, allocations: 23.89 kB / 490.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.278, allocations: 204.9 kB / 490.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.278, allocations: 4 kB / 490.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.278, allocations: 0 / 490.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.2782, allocations: 125.9 kB / 490.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2783, allocations: 0 / 490.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2783, allocations: 4 kB / 490.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2783, allocations: 0 / 490.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.277e-05/0.2784, allocations: 27.92 kB / 490.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.2787, allocations: 274.6 kB / 490.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.2788, allocations: 71.78 kB / 490.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2789, allocations: 8 kB / 490.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2789, allocations: 39.89 kB / 490.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2789, allocations: 3.938 kB / 490.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002511/0.2791, allocations: 85.86 kB / 491 MB, free: 8.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2792, allocations: 110.8 kB / 491.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.2793, allocations: 125 kB / 491.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2793, allocations: 25.7 kB / 491.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.2794, allocations: 88.14 kB / 491.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2794, allocations: 11.89 kB / 491.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.2794, allocations: 0 / 491.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.2795, allocations: 318.8 kB / 491.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.2796, allocations: 15.98 kB / 491.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.2796, allocations: 35.38 kB / 491.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.2797, allocations: 15.98 kB / 491.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2797, allocations: 4 kB / 491.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.2798, allocations: 73.61 kB / 491.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2798, allocations: 4 kB / 491.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2798, allocations: 0 / 491.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2799, allocations: 4 kB / 491.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.2799, allocations: 8 kB / 491.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2799, allocations: 8.062 kB / 491.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.28, allocations: 7.984 kB / 491.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.28, allocations: 0 / 491.8 MB, free: 7.977 MB / 362.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 () * Number of clocked 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 7.064e-05/0.2801, allocations: 125.7 kB / 492 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.2802, allocations: 53.53 kB / 492 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.2802, allocations: 11.88 kB / 492 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2802, allocations: 0 / 492 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2802, allocations: 4 kB / 492 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2802, allocations: 4.062 kB / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.2804, allocations: 189.4 kB / 492.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2804, allocations: 0 / 492.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.2805, allocations: 8 kB / 492.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2805, allocations: 3.938 kB / 492.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2805, allocations: 0 / 492.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2805, allocations: 7.984 kB / 492.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2805, allocations: 0 / 492.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2807, allocations: 208.6 kB / 492.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.2808, allocations: 97.03 kB / 492.5 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2808, allocations: 4 kB / 492.5 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.2809, allocations: 4 kB / 492.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.2809, allocations: 4 kB / 492.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2809, allocations: 4 kB / 492.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.984e-05/0.281, allocations: 118 kB / 492.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.281, allocations: 0 / 492.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000214/0.2812, allocations: 8 kB / 492.7 MB, free: 7.016 MB / 362.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 () * Number of clocked 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.0004571/0.2817, allocations: 0.8814 MB / 493.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.2818, allocations: 35.98 kB / 493.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2818, allocations: 0 / 493.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.2819, allocations: 11.94 kB / 493.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.2821, allocations: 24.02 kB / 493.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.283, allocations: 0.9776 MB / 494.6 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.2832, allocations: 0.6965 MB / 495.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.2833, allocations: 4.188 kB / 495.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.2833, allocations: 23.48 kB / 495.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2833, allocations: 0 / 495.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2943, allocations: 1.409 MB / 496.7 MB, free: 2.977 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.2945, allocations: 184.6 kB / 496.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.767, allocations: 2.953 kB / 496.9 MB, free: 2.742 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat