Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001537/0.001536, allocations: 180.3 kB / 16.38 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 93.22 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 4 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2251, allocations: 50.4 MB / 401.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09139/0.3165, allocations: 77.09 MB / 478.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.3168, allocations: 79.95 kB / 478.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005509/0.3223, allocations: 2.121 MB / 480.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3223, allocations: 3.938 kB / 480.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3224, allocations: 4 kB / 480.9 MB, free: 1.133 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.000378/0.3227, allocations: 382.9 kB / 481.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3228, allocations: 15.97 kB / 481.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.3228, allocations: 36.61 kB / 481.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.3229, allocations: 7.906 kB / 481.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3231, allocations: 189.5 kB / 481.5 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3231, allocations: 4 kB / 481.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3231, allocations: 4 kB / 481.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.3234, allocations: 114.8 kB / 481.6 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3234, allocations: 7.953 kB / 481.6 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3234, allocations: 4 kB / 481.6 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3234, allocations: 0 / 481.6 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.3235, allocations: 27.92 kB / 481.7 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.3239, allocations: 278.7 kB / 481.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.324, allocations: 71.78 kB / 482 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.324, allocations: 3.953 kB / 482 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3241, allocations: 50.5 kB / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3241, allocations: 0 / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.3243, allocations: 89.7 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.3244, allocations: 102.8 kB / 482.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3245, allocations: 129 kB / 482.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3245, allocations: 25.7 kB / 482.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.3246, allocations: 92.12 kB / 482.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3246, allocations: 11.84 kB / 482.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.3246, allocations: 4.188 kB / 482.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.3247, allocations: 316.1 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/0.3248, allocations: 12 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.3248, allocations: 39.42 kB / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.3249, allocations: 12 kB / 482.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3249, allocations: 0 / 482.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/0.3251, allocations: 77.56 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3251, allocations: 4 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3251, allocations: 128 / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3251, allocations: 8 kB / 483 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.3252, allocations: 15.92 kB / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3252, allocations: 0 / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.3253, allocations: 7.938 kB / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3253, allocations: 4 kB / 483 MB, free: 14.75 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.805e-05/0.3254, allocations: 117.8 kB / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.3254, allocations: 53.59 kB / 483.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.3255, allocations: 23.91 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3255, allocations: 4 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3255, allocations: 0 / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3255, allocations: 0 / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3257, allocations: 181.5 kB / 483.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3257, allocations: 0 / 483.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.3258, allocations: 11.98 kB / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3258, allocations: 0 / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3258, allocations: 7.953 kB / 483.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3258, allocations: 0 / 483.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3258, allocations: 4 kB / 483.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.326, allocations: 200.6 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3261, allocations: 104.9 kB / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3261, allocations: 0 / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.3262, allocations: 7.984 kB / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3262, allocations: 0 / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.3262, allocations: 4 kB / 483.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.3263, allocations: 110.2 kB / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 0 / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.3265, allocations: 8 kB / 483.8 MB, free: 13.81 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.0004893/0.327, allocations: 0.8816 MB / 484.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.3272, allocations: 31.92 kB / 484.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3272, allocations: 0 / 484.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.3272, allocations: 15.98 kB / 484.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3275, allocations: 20.52 kB / 484.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/0.3284, allocations: 0.9888 MB / 485.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3287, allocations: 0.6993 MB / 486.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.3287, allocations: 4.172 kB / 486.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.3288, allocations: 19.5 kB / 486.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3288, allocations: 0 / 486.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.341, allocations: 1.393 MB / 487.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.3412, allocations: 197 kB / 488 MB, free: 9.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.877, allocations: 0 / 488 MB, free: 9.523 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat