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.0009955/0.0009955, allocations: 98 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.001235/0.001235, allocations: 206.4 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.437/1.437, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.000243, allocations: 8 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001737/0.1288, allocations: 1.285 MB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.1297, allocations: 0.5146 MB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.1298, allocations: 0 / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.1298, allocations: 3.938 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1299, allocations: 15.97 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1302, allocations: 47.83 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.1303, allocations: 27.97 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.1304, allocations: 20.14 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.1305, allocations: 23.81 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.1306, allocations: 19.92 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1306, allocations: 0 / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.1306, allocations: 4 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.1307, allocations: 15.91 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.1307, allocations: 37.64 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.267e-05/0.1308, allocations: 35.94 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.1308, allocations: 0 / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1308, allocations: 4 kB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1308, allocations: 0 / 360.2 MB, free: 11.7 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.0004452/0.1313, allocations: 367.3 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1313, allocations: 8.031 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.1314, allocations: 42.55 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1315, allocations: 19.91 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1317, allocations: 193.3 kB / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1317, allocations: 11.95 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1317, allocations: 3.938 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.132, allocations: 113.9 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.132, allocations: 4 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.132, allocations: 0 / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1321, allocations: 4 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.1321, allocations: 23.98 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.1325, allocations: 278.5 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1326, allocations: 75.8 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1326, allocations: 7.922 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1327, allocations: 30.56 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1327, allocations: 4 kB / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002659/0.1329, allocations: 89.58 kB / 361.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.133, allocations: 110.8 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1332, allocations: 138.2 kB / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1332, allocations: 33.7 kB / 361.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.1333, allocations: 88.05 kB / 361.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.1333, allocations: 4 kB / 361.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.1333, allocations: 4 kB / 361.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1334, allocations: 318.8 kB / 362.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.1335, allocations: 12 kB / 362.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.1336, allocations: 39.42 kB / 362.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.1336, allocations: 15.98 kB / 362.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1336, allocations: 0 / 362.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.1338, allocations: 77.47 kB / 362.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1338, allocations: 8 kB / 362.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1338, allocations: 0 / 362.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1338, allocations: 0 / 362.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.1339, allocations: 11.98 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1339, allocations: 4 kB / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.134, allocations: 7.938 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.134, allocations: 0 / 362.4 MB, free: 9.312 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.922e-05/0.1341, allocations: 133.8 kB / 362.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.1342, allocations: 45.61 kB / 362.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.1342, allocations: 19.81 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1342, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1342, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1342, allocations: 4 kB / 362.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1344, allocations: 173.6 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1344, allocations: 0 / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.1345, allocations: 19.98 kB / 362.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1345, allocations: 4 kB / 362.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1346, allocations: 0 / 362.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1346, allocations: 0 / 362.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1346, allocations: 4 kB / 362.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1348, allocations: 204.5 kB / 362.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1349, allocations: 93 kB / 363 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1349, allocations: 7.984 kB / 363 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.135, allocations: 4 kB / 363.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.135, allocations: 4 kB / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.135, allocations: 144 / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.161e-05/0.1351, allocations: 121.7 kB / 363.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1351, allocations: 4 kB / 363.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1353, allocations: 12 kB / 363.2 MB, free: 8.355 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.000531/0.1359, allocations: 0.8706 MB / 364.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.136, allocations: 39.91 kB / 364.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.136, allocations: 0 / 364.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.1361, allocations: 12.25 kB / 364.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1363, allocations: 31.89 kB / 364.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.1373, allocations: 0.9729 MB / 365.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1375, allocations: 0.6965 MB / 365.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.1376, allocations: 3.938 kB / 365.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1376, allocations: 15.5 kB / 365.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1376, allocations: 0 / 365.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.1479, allocations: 1.421 MB / 367.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.1481, allocations: 191.3 kB / 367.4 MB, free: 4.066 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.893, allocations: 3.375 kB / 367.4 MB, free: 4.066 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