Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008428/0.0008428, 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.0008948/0.0008948, 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.471/1.471, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002398, allocations: 8 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1262, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002354/0.1287, allocations: 1.324 MB / 359.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1298, allocations: 0.5302 MB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1299, allocations: 3.938 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.761e-05/0.1299, allocations: 7.922 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1301, allocations: 11.88 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.1305, allocations: 51.88 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1306, allocations: 51.78 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1308, allocations: 19.98 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1309, allocations: 31.84 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.131, allocations: 19.86 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.131, allocations: 0 / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.1311, allocations: 8 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1312, allocations: 7.984 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.1312, allocations: 37.64 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1313, allocations: 51.84 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.1314, allocations: 4 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1314, allocations: 0 / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1314, allocations: 0 / 360.5 MB, free: 11.81 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005996/0.132, allocations: 383.2 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.132, allocations: 8.031 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.1321, allocations: 38.55 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1323, allocations: 27.81 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1325, allocations: 210.2 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1326, allocations: 4 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1326, allocations: 3.953 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.133, allocations: 142.7 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.133, allocations: 4 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.133, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.133, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.1331, allocations: 31.92 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.1335, allocations: 287.5 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1337, allocations: 98.34 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.1338, allocations: 47.48 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.1338, allocations: 8 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1339, allocations: 30.56 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1339, allocations: 0 / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003248/0.1342, allocations: 113.3 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.1343, allocations: 140.5 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1345, allocations: 143 kB / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1345, allocations: 41.64 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1346, allocations: 84.33 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1346, allocations: 8 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.1346, allocations: 0 / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1348, allocations: 318.8 kB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.1349, allocations: 11.98 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.1349, allocations: 49.16 kB / 362.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.135, allocations: 23.94 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.135, allocations: 0 / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001607/0.1352, allocations: 93.45 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1352, allocations: 7.938 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1352, allocations: 4 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1352, allocations: 0 / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.1353, allocations: 23.92 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1354, allocations: 0 / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.1354, allocations: 8.188 kB / 362.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1354, allocations: 4 kB / 362.8 MB, free: 9.133 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001083/0.1355, allocations: 130.8 kB / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1356, allocations: 65.53 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1357, allocations: 15.83 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1357, allocations: 0 / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1357, allocations: 4 kB / 363 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1357, allocations: 4.094 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1359, allocations: 177.5 kB / 363.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1359, allocations: 3.953 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.136, allocations: 23.92 kB / 363.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.136, allocations: 4 kB / 363.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.136, allocations: 0 / 363.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.136, allocations: 0 / 363.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.136, allocations: 4 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1363, allocations: 202.1 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.1363, allocations: 96.95 kB / 363.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1364, allocations: 4 kB / 363.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1364, allocations: 7.984 kB / 363.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1365, allocations: 8 kB / 363.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1365, allocations: 0 / 363.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.1366, allocations: 114.5 kB / 363.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1366, allocations: 0 / 363.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1368, allocations: 12 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005663/0.1374, allocations: 0.7305 MB / 364.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1376, allocations: 56.16 kB / 364.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1376, allocations: 0 / 364.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.1376, allocations: 8 kB / 364.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.1382, allocations: 46.56 kB / 364.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1393, allocations: 0.6048 MB / 365.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1397, allocations: 0.7004 MB / 365.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.1397, allocations: 8.672 kB / 365.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1398, allocations: 23.42 kB / 365.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1398, allocations: 0 / 365.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.1547, allocations: 1.754 MB / 367.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.1549, allocations: 197.1 kB / 367.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.067, allocations: 0 / 367.8 MB, free: 4.02 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat