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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009555, allocations: 87.16 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 180.4 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 241.2 MB, free: 5.254 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003101, allocations: 7.141 kB / 300.9 MB, free: 5.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 50.43 MB / 351.3 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002329/0.1528, allocations: 1.309 MB / 352.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1541, allocations: 0.5381 MB / 353.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1543, allocations: 4 kB / 353.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.1543, allocations: 3.938 kB / 353.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.1547, allocations: 27.84 kB / 353.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1551, allocations: 59.38 kB / 353.3 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1553, allocations: 67.78 kB / 353.3 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1555, allocations: 28.19 kB / 353.4 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1556, allocations: 23.92 kB / 353.4 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.1557, allocations: 27.84 kB / 353.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1557, allocations: 4 kB / 353.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.1558, allocations: 0 / 353.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.1558, allocations: 23.91 kB / 353.5 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.1559, allocations: 37.64 kB / 353.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.156, allocations: 55.89 kB / 353.5 MB, free: 9.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.156, allocations: 4 kB / 353.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.1561, allocations: 0 / 353.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1561, allocations: 3.938 kB / 353.6 MB, free: 9.047 MB / 286.1 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.0009745/0.157, allocations: 375 kB / 353.9 MB, free: 8.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.1571, allocations: 16.02 kB / 353.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.1572, allocations: 38.5 kB / 354 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1572, allocations: 23.77 kB / 354 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1576, allocations: 190.9 kB / 354.2 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.1576, allocations: 8 kB / 354.2 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1577, allocations: 8 kB / 354.2 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.1585, allocations: 226.2 kB / 354.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1586, allocations: 0 / 354.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1586, allocations: 7.953 kB / 354.4 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1586, allocations: 4 kB / 354.4 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.1588, allocations: 51.95 kB / 354.5 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.1594, allocations: 298.4 kB / 354.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1596, allocations: 99.89 kB / 354.9 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1598, allocations: 58.61 kB / 354.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.1598, allocations: 11.94 kB / 354.9 MB, free: 7.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1599, allocations: 38.5 kB / 355 MB, free: 7.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1599, allocations: 0 / 355 MB, free: 7.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004599/0.1603, allocations: 154 kB / 355.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1605, allocations: 110.8 kB / 355.2 MB, free: 7.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1607, allocations: 144.2 kB / 355.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1607, allocations: 25.7 kB / 355.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.1608, allocations: 96.12 kB / 355.5 MB, free: 6.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1608, allocations: 7.812 kB / 355.5 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.1608, allocations: 4 kB / 355.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003092/0.1612, allocations: 326.9 kB / 355.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.1612, allocations: 19.98 kB / 355.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1615, allocations: 89.38 kB / 355.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.1616, allocations: 35.98 kB / 356 MB, free: 6.324 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1616, allocations: 4 kB / 356 MB, free: 6.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003342/0.1619, allocations: 141.3 kB / 356.1 MB, free: 6.176 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1619, allocations: 4 kB / 356.1 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.162, allocations: 8.406 kB / 356.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.162, allocations: 8 kB / 356.1 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1621, allocations: 27.92 kB / 356.2 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1622, allocations: 4 kB / 356.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.1622, allocations: 7.938 kB / 356.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1623, allocations: 12 kB / 356.2 MB, free: 6.105 MB / 286.1 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 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * 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.00015/0.1624, allocations: 125.8 kB / 356.3 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.1626, allocations: 105.4 kB / 356.4 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.1627, allocations: 16.3 kB / 356.4 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1627, allocations: 8 kB / 356.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1627, allocations: 0 / 356.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1627, allocations: 0 / 356.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.163, allocations: 181.5 kB / 356.6 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.163, allocations: 4 kB / 356.6 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1632, allocations: 27.91 kB / 356.6 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.1632, allocations: 3.953 kB / 356.6 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1632, allocations: 8 kB / 356.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1632, allocations: 0 / 356.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1632, allocations: 0 / 356.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.1636, allocations: 225.1 kB / 356.9 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1637, allocations: 96.94 kB / 357 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.1637, allocations: 11.95 kB / 357 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.1638, allocations: 15.86 kB / 357 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1639, allocations: 8 kB / 357 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1639, allocations: 0 / 357 MB, free: 5.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.025e-05/0.164, allocations: 115.2 kB / 357.1 MB, free: 5.062 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.164, allocations: 3.938 kB / 357.1 MB, free: 5.059 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1642, allocations: 12 kB / 357.1 MB, free: 5.047 MB / 286.1 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 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * 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.0009248/0.1652, allocations: 0.8155 MB / 357.9 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1654, allocations: 88.5 kB / 358 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1654, allocations: 0 / 358 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.1655, allocations: 8 kB / 358 MB, free: 4.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.1661, allocations: 60.69 kB / 358.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1676, allocations: 0.7166 MB / 358.8 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.168, allocations: 0.7043 MB / 359.5 MB, free: 2.504 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.165e-05/0.1681, allocations: 12.41 kB / 359.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.1682, allocations: 27.48 kB / 359.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1682, allocations: 0 / 359.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.1871, allocations: 1.951 MB / 361.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.1875, allocations: 220.9 kB / 361.7 MB, free: 464 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.206, allocations: 4.062 kB / 361.7 MB, free: 460 kB / 286.1 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