Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 104.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 11.98 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001722/0.1263, allocations: 1.289 MB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.1272, allocations: 0.5146 MB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.1273, allocations: 4 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.1273, allocations: 7.875 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1274, allocations: 11.92 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1277, allocations: 47.89 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.1278, allocations: 43.84 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.1279, allocations: 12.16 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.128, allocations: 23.88 kB / 360.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.1281, allocations: 23.91 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1281, allocations: 4 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.731e-05/0.1282, allocations: 0 / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.1282, allocations: 15.92 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.1282, allocations: 33.64 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.253e-05/0.1283, allocations: 39.92 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1283, allocations: 0 / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1283, allocations: 0 / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1284, allocations: 4 kB / 360.4 MB, free: 11.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004196/0.1288, allocations: 379.2 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1288, allocations: 8.031 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.1289, allocations: 30.56 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.129, allocations: 23.88 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1292, allocations: 193.7 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1292, allocations: 3.938 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1292, allocations: 8 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1295, allocations: 113.9 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1295, allocations: 0 / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1295, allocations: 0 / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1295, allocations: 4 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.1296, allocations: 31.98 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.13, allocations: 282.5 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1301, allocations: 67.8 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.1302, allocations: 34.62 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1302, allocations: 4 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1302, allocations: 38.55 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1302, allocations: 0 / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002838/0.1305, allocations: 97.44 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.1306, allocations: 106.8 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1307, allocations: 138.2 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1308, allocations: 25.7 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1308, allocations: 100 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.1309, allocations: 3.938 kB / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1309, allocations: 0 / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.131, allocations: 322.8 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.131, allocations: 7.984 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.1311, allocations: 47.36 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.1312, allocations: 11.94 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1312, allocations: 0 / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.1313, allocations: 81.52 kB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1313, allocations: 6.812 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1313, allocations: 4 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1314, allocations: 0 / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.1314, allocations: 11.98 kB / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1315, allocations: 0 / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.1315, allocations: 4 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1315, allocations: 7.938 kB / 362.5 MB, free: 9.445 MB / 302.1 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 9.48e-05/0.1316, allocations: 127 kB / 362.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1317, allocations: 49.61 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.1317, allocations: 15.81 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1318, allocations: 4 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1318, allocations: 0 / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1318, allocations: 3.938 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.132, allocations: 173.6 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.132, allocations: 0 / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.132, allocations: 16.05 kB / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.132, allocations: 0 / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1321, allocations: 4 kB / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1321, allocations: 0 / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1321, allocations: 0 / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1323, allocations: 189 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.1323, allocations: 97 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1324, allocations: 0 / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.1324, allocations: 4.141 kB / 363.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1325, allocations: 7.969 kB / 363.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1325, allocations: 4 kB / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.1326, allocations: 105.8 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1326, allocations: 0 / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1328, allocations: 15.94 kB / 363.3 MB, free: 8.539 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: 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.0004162/0.1332, allocations: 0.714 MB / 364 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1334, allocations: 35.92 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1334, allocations: 0 / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.1334, allocations: 15.92 kB / 364.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1338, allocations: 28.3 kB / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.1346, allocations: 0.5325 MB / 364.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1348, allocations: 0.6926 MB / 365.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.1349, allocations: 8.062 kB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.1349, allocations: 23.48 kB / 365.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1349, allocations: 0 / 365.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.1474, allocations: 1.422 MB / 366.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.1477, allocations: 196.7 kB / 367 MB, free: 4.855 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/1.953, allocations: 3.375 kB / 367 MB, free: 4.855 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat