Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009539/0.0009541, allocations: 98.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009756/0.0009758, allocations: 206.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8 kB / 306.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00181/0.1287, allocations: 1.309 MB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009337/0.1296, allocations: 0.5691 MB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.308e-05/0.1297, allocations: 4 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.1298, allocations: 3.938 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.13, allocations: 27.89 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1303, allocations: 59.81 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.1304, allocations: 47.88 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1305, allocations: 24.2 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1306, allocations: 31.84 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.1307, allocations: 31.84 kB / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1307, allocations: 0 / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.1308, allocations: 8 kB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1308, allocations: 19.91 kB / 360.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.1309, allocations: 45.58 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.131, allocations: 51.89 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1311, allocations: 0 / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1311, allocations: 0 / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1311, allocations: 0 / 360.4 MB, free: 11.52 MB / 302.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.0005605/0.1316, allocations: 395.2 kB / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1317, allocations: 8.031 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.1317, allocations: 42.55 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1319, allocations: 27.8 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1321, allocations: 202.8 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1321, allocations: 7.953 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1322, allocations: 12 kB / 361.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.1326, allocations: 213.8 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1327, allocations: 0 / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1327, allocations: 4 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1327, allocations: 0 / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.1329, allocations: 59.89 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1332, allocations: 286.5 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1334, allocations: 103.8 kB / 361.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1335, allocations: 4.062 kB / 361.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1335, allocations: 42.62 kB / 361.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.825e-06/0.1335, allocations: 3.984 kB / 361.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004044/0.1339, allocations: 145.5 kB / 362 MB, free: 9.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.134, allocations: 118.7 kB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1341, allocations: 142 kB / 362.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1342, allocations: 25.7 kB / 362.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.1342, allocations: 99.97 kB / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1342, allocations: 11.91 kB / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.1343, allocations: 0 / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1344, allocations: 322.8 kB / 362.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.1345, allocations: 27.92 kB / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1346, allocations: 93.19 kB / 362.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.1347, allocations: 35.98 kB / 362.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1347, allocations: 0 / 362.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002297/0.1349, allocations: 137.3 kB / 363 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.135, allocations: 8 kB / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.135, allocations: 0 / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.135, allocations: 4 kB / 363 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1351, allocations: 31.92 kB / 363 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1351, allocations: 4 kB / 363 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.1352, allocations: 4.344 kB / 363 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1352, allocations: 12 kB / 363 MB, free: 8.633 MB / 302.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.0001128/0.1353, allocations: 144 kB / 363.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.1355, allocations: 94.08 kB / 363.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.1356, allocations: 16.3 kB / 363.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1356, allocations: 7.938 kB / 363.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1356, allocations: 4.125 kB / 363.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1356, allocations: 0 / 363.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1358, allocations: 193.4 kB / 363.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1358, allocations: 3.984 kB / 363.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.136, allocations: 23.98 kB / 363.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.136, allocations: 7.938 kB / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.136, allocations: 0 / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.136, allocations: 0 / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.136, allocations: 4 kB / 363.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1363, allocations: 256.5 kB / 363.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.1364, allocations: 97 kB / 363.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1364, allocations: 0 / 363.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.1365, allocations: 11.98 kB / 363.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1366, allocations: 0 / 363.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1366, allocations: 8 kB / 363.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.1367, allocations: 117.8 kB / 364 MB, free: 7.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 0 / 364 MB, free: 7.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1369, allocations: 16 kB / 364 MB, free: 7.531 MB / 302.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.0007922/0.1377, allocations: 0.9759 MB / 365 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.138, allocations: 92.55 kB / 365.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.138, allocations: 0 / 365.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.138, allocations: 11.98 kB / 365.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1385, allocations: 59.52 kB / 365.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1404, allocations: 2.208 MB / 367.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1407, allocations: 0.7121 MB / 368.1 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.1407, allocations: 8.547 kB / 368.1 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.1408, allocations: 27.44 kB / 368.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1408, allocations: 192 / 368.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.1527, allocations: 1.935 MB / 370 MB, free: 1.512 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.1529, allocations: 212.9 kB / 370.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.951, allocations: 0 / 370.2 MB, free: 1.262 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat