Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008847/0.0008847, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009612/0.0009612, allocations: 191.8 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.571/1.571, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002535, allocations: 8 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1214, allocations: 51.48 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002496/0.124, allocations: 1.451 MB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1251, allocations: 0.5614 MB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1253, allocations: 7.938 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.1253, allocations: 7.922 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1255, allocations: 3.938 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1259, allocations: 95.72 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1262, allocations: 83.75 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1263, allocations: 32.84 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1264, allocations: 39.78 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.1265, allocations: 39.78 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1266, allocations: 4 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.1266, allocations: 4 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.1267, allocations: 19.92 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.1267, allocations: 45.64 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1269, allocations: 71.83 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1269, allocations: 4 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1269, allocations: 0 / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.1269, allocations: 4 kB / 360.8 MB, free: 11.5 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006342/0.1276, allocations: 407.1 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1276, allocations: 8.031 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.1277, allocations: 42.56 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1278, allocations: 31.8 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1281, allocations: 210 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.1282, allocations: 11.94 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1282, allocations: 15.95 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.1288, allocations: 263.2 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1288, allocations: 0 / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1288, allocations: 8 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1289, allocations: 0 / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.129, allocations: 55.97 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1295, allocations: 302.5 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.1298, allocations: 135.9 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1299, allocations: 82.59 kB / 362.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.13, allocations: 0 / 362.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.13, allocations: 42.5 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.031e-06/0.13, allocations: 0 / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004166/0.1304, allocations: 185.4 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.1306, allocations: 114.8 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1308, allocations: 147.5 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1308, allocations: 33.83 kB / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.1309, allocations: 99.98 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1309, allocations: 15.89 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1309, allocations: 4 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.1313, allocations: 326.8 kB / 363.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.1313, allocations: 28.36 kB / 363.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.1316, allocations: 140.6 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.1317, allocations: 48 kB / 363.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1317, allocations: 3.938 kB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003929/0.1321, allocations: 185.5 kB / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1321, allocations: 4 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1321, allocations: 7.938 kB / 363.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1322, allocations: 8 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1323, allocations: 35.91 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.1323, allocations: 7.938 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.1324, allocations: 12 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1325, allocations: 8 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001993/0.1327, allocations: 152.6 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1328, allocations: 113.4 kB / 364 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.1329, allocations: 20.7 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1329, allocations: 4 kB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1329, allocations: 0 / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.133, allocations: 480 / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1332, allocations: 201.5 kB / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1332, allocations: 0 / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1333, allocations: 27.98 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1333, allocations: 4 kB / 364.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1334, allocations: 11.94 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.625e-05/0.1334, allocations: 7.938 kB / 364.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1334, allocations: 0 / 364.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.1337, allocations: 256.9 kB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.1338, allocations: 101 kB / 364.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1339, allocations: 7.984 kB / 364.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1339, allocations: 4 kB / 364.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.134, allocations: 0 / 364.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.134, allocations: 8 kB / 364.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1341, allocations: 114.7 kB / 364.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 4 kB / 364.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1344, allocations: 16 kB / 364.8 MB, free: 7.062 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001282/0.1357, allocations: 0.861 MB / 365.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.136, allocations: 107.8 kB / 365.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.136, allocations: 1.062 kB / 365.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.136, allocations: 11.98 kB / 365.7 MB, free: 6.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.1366, allocations: 83.62 kB / 365.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1382, allocations: 0.8371 MB / 366.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.1387, allocations: 0.7211 MB / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.18e-05/0.1387, allocations: 13.42 kB / 367.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.1388, allocations: 35.42 kB / 367.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1388, allocations: 0 / 367.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.1541, allocations: 2.393 MB / 369.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1543, allocations: 204.8 kB / 370 MB, free: 1.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.133, allocations: 3.938 kB / 370 MB, free: 1.742 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat