Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001756/0.001756, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 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.5 MB / 230.3 MB, free: 7.562 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.001058/0.001057, allocations: 89.69 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.692e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09686, allocations: 50.43 MB / 387.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3095/0.4064, allocations: 76.57 MB / 464.1 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.4068, allocations: 83.94 kB / 464.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.422, allocations: 3.482 MB / 467.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4221, allocations: 0 / 467.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4221, allocations: 0 / 467.7 MB, free: 14.55 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005866/0.4227, allocations: 387.1 kB / 468.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4227, allocations: 8.031 kB / 468.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.4228, allocations: 19.77 kB / 468.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4231, allocations: 200.4 kB / 468.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.4232, allocations: 4 kB / 468.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.4232, allocations: 8 kB / 468.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000154/0.4234, allocations: 39.98 kB / 468.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.4238, allocations: 190.7 kB / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4238, allocations: 0 / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4239, allocations: 0 / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4239, allocations: 0.8438 kB / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.4244, allocations: 263.1 kB / 468.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.4246, allocations: 87.78 kB / 468.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.4247, allocations: 42.77 kB / 468.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.4247, allocations: 7.984 kB / 468.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4247, allocations: 38.52 kB / 469 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.4248, allocations: 0 / 469 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003159/0.4251, allocations: 97.52 kB / 469.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.4252, allocations: 106.8 kB / 469.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4254, allocations: 131.5 kB / 469.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4254, allocations: 29.64 kB / 469.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.4255, allocations: 100 kB / 469.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.4255, allocations: 15.89 kB / 469.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4255, allocations: 4.031 kB / 469.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4257, allocations: 314.8 kB / 469.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.4257, allocations: 12 kB / 469.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.974e-05/0.4258, allocations: 77.44 kB / 469.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.4259, allocations: 35.92 kB / 469.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.426, allocations: 0 / 469.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.4262, allocations: 101.5 kB / 470 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.4263, allocations: 15.89 kB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4263, allocations: 3.938 kB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4263, allocations: 4 kB / 470 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.4265, allocations: 23.98 kB / 470 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4265, allocations: 4.344 kB / 470 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4266, allocations: 11.94 kB / 470 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.4267, allocations: 16.64 kB / 470.1 MB, free: 11.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000106/0.4268, allocations: 107.2 kB / 470.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002421/0.4271, allocations: 93.52 kB / 470.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.4271, allocations: 15.77 kB / 470.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.4272, allocations: 16.39 kB / 470.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4272, allocations: 0 / 470.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.4272, allocations: 4 kB / 470.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4273, allocations: 4.031 kB / 470.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4275, allocations: 150.2 kB / 470.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4275, allocations: 7.984 kB / 470.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.4277, allocations: 27.91 kB / 470.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4277, allocations: 0 / 470.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.4278, allocations: 7.953 kB / 470.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4278, allocations: 256 / 470.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4278, allocations: 4 kB / 470.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.4281, allocations: 228.5 kB / 470.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4282, allocations: 104.8 kB / 470.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.4283, allocations: 4 kB / 470.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.4284, allocations: 4 kB / 470.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4285, allocations: 3.938 kB / 470.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4285, allocations: 15.98 kB / 470.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.968e-05/0.4286, allocations: 103.3 kB / 470.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4286, allocations: 0 / 470.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004508/0.4291, allocations: 12 kB / 470.9 MB, free: 10.91 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008146/0.4299, allocations: 0.929 MB / 471.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4301, allocations: 61.55 kB / 471.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4301, allocations: 0 / 471.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.4302, allocations: 4 kB / 471.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.4306, allocations: 44.7 kB / 472 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.4313, allocations: 183.9 kB / 472.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.4317, allocations: 0.708 MB / 472.9 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.4318, allocations: 8.422 kB / 472.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.4318, allocations: 27.42 kB / 472.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4319, allocations: 4 kB / 472.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.4541, allocations: 1.618 MB / 474.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/0.4544, allocations: 172.9 kB / 474.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/1.918, allocations: 1.406 kB / 474.7 MB, free: 7.035 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat