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.002031/0.002032, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.338/1.338, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 87.61 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.859e-05, allocations: 7.984 kB / 343.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.09899, allocations: 50.41 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4184, allocations: 77.03 MB / 471.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4187, allocations: 75.95 kB / 471.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005777/0.4245, allocations: 2.109 MB / 473.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4245, allocations: 0 / 473.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4245, allocations: 4 kB / 473.6 MB, free: 8.238 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.0003865/0.4249, allocations: 359.2 kB / 473.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4249, allocations: 8.031 kB / 473.9 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.425, allocations: 38.52 kB / 474 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.425, allocations: 15.84 kB / 474 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.4253, allocations: 190.8 kB / 474.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4253, allocations: 11.98 kB / 474.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.4253, allocations: 0 / 474.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.4255, allocations: 110.7 kB / 474.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4256, allocations: 3.953 kB / 474.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4256, allocations: 0 / 474.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4256, allocations: 0 / 474.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.4256, allocations: 19.94 kB / 474.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.426, allocations: 274.7 kB / 474.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.733e-05/0.4261, allocations: 71.8 kB / 474.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.4262, allocations: 30.59 kB / 474.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.4262, allocations: 3.938 kB / 474.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4262, allocations: 46.47 kB / 474.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.4262, allocations: 4 kB / 474.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001749/0.4264, allocations: 53.55 kB / 474.8 MB, free: 6.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.4265, allocations: 114.8 kB / 474.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4266, allocations: 124.2 kB / 475 MB, free: 6.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.4266, allocations: 29.7 kB / 475 MB, free: 6.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.4267, allocations: 92.05 kB / 475.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.4267, allocations: 3.984 kB / 475.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4267, allocations: 4.094 kB / 475.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4268, allocations: 318.8 kB / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.4269, allocations: 4 kB / 475.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.4269, allocations: 31.44 kB / 475.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.4269, allocations: 19.92 kB / 475.5 MB, free: 6.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.427, allocations: 0 / 475.5 MB, free: 6.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.4271, allocations: 65.48 kB / 475.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4271, allocations: 4 kB / 475.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4271, allocations: 0 / 475.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4271, allocations: 4 kB / 475.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.4272, allocations: 8 kB / 475.6 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4272, allocations: 0 / 475.6 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.4273, allocations: 12.11 kB / 475.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4273, allocations: 0 / 475.6 MB, free: 5.918 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 6.622e-05/0.4274, allocations: 112.9 kB / 475.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.4275, allocations: 45.56 kB / 475.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.4275, allocations: 19.64 kB / 475.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4275, allocations: 0 / 475.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4275, allocations: 4 kB / 475.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4275, allocations: 0 / 475.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.4277, allocations: 177.7 kB / 475.9 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4277, allocations: 0 / 475.9 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.4278, allocations: 15.92 kB / 476 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.4278, allocations: 3.953 kB / 476 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4278, allocations: 8 kB / 476 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4278, allocations: 0 / 476 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4278, allocations: 0 / 476 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.428, allocations: 192.5 kB / 476.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.4281, allocations: 93 kB / 476.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.4281, allocations: 4 kB / 476.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.4282, allocations: 7.938 kB / 476.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.4282, allocations: 0 / 476.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4282, allocations: 144 / 476.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.756e-05/0.4283, allocations: 121.4 kB / 476.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4283, allocations: 0 / 476.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.4287, allocations: 8 kB / 476.4 MB, free: 5.012 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.0004534/0.4292, allocations: 0.8627 MB / 477.3 MB, free: 4.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.211e-05/0.4293, allocations: 23.88 kB / 477.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4293, allocations: 0 / 477.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.4293, allocations: 15.92 kB / 477.3 MB, free: 4.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.4295, allocations: 19.98 kB / 477.3 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.4299, allocations: 144.9 kB / 477.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.4302, allocations: 0.7059 MB / 478.2 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.4302, allocations: 192 / 478.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.4303, allocations: 15.44 kB / 478.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4303, allocations: 0 / 478.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.4427, allocations: 1.39 MB / 479.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.4431, allocations: 168.6 kB / 479.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/1.879, allocations: 2.531 kB / 479.7 MB, free: 1.629 MB / 346.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