Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 95.55 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 184.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 241.1 MB, free: 14.67 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8.5 kB / 300.8 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 50.41 MB / 351.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001996/0.1267, allocations: 1.372 MB / 352.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004007/0.1271, allocations: 175.4 kB / 352.8 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.1272, allocations: 4 kB / 352.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.1273, allocations: 3.938 kB / 352.8 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1274, allocations: 7.969 kB / 352.8 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1277, allocations: 43.84 kB / 352.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.1278, allocations: 35.92 kB / 352.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1279, allocations: 23.92 kB / 352.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.1279, allocations: 19.91 kB / 352.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.128, allocations: 19.86 kB / 352.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.128, allocations: 4 kB / 352.9 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.128, allocations: 0 / 352.9 MB, free: 2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.1281, allocations: 11.94 kB / 353 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1281, allocations: 37.64 kB / 353 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.343e-05/0.1282, allocations: 47.89 kB / 353 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1282, allocations: 0 / 353 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1282, allocations: 0 / 353 MB, free: 1.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1282, allocations: 4 kB / 353 MB, free: 1.895 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004604/0.1287, allocations: 375.2 kB / 353.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1287, allocations: 8.031 kB / 353.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.1288, allocations: 42.55 kB / 353.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1288, allocations: 11.91 kB / 353.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.129, allocations: 182.9 kB / 353.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.129, allocations: 7.984 kB / 353.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1291, allocations: 8 kB / 353.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1294, allocations: 165.7 kB / 353.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1294, allocations: 0 / 353.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1294, allocations: 4 kB / 353.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1294, allocations: 8 kB / 353.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1295, allocations: 39.91 kB / 353.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1299, allocations: 369.8 kB / 354.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.1302, allocations: 119.8 kB / 354.4 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1302, allocations: 7.984 kB / 354.4 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1302, allocations: 38.62 kB / 354.4 MB, free: 332 kB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1302, allocations: 0 / 354.4 MB, free: 332 kB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003193/0.1306, allocations: 117.8 kB / 354.5 MB, free: 208 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1306, allocations: 118.7 kB / 354.6 MB, free: 64 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1308, allocations: 140.9 kB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1308, allocations: 25.7 kB / 354.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.1308, allocations: 88.05 kB / 354.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1309, allocations: 11.98 kB / 354.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.1309, allocations: 0 / 354.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.131, allocations: 318.8 kB / 355.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1311, allocations: 15.98 kB / 355.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.1312, allocations: 71.72 kB / 355.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.1312, allocations: 31.92 kB / 355.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1312, allocations: 4 kB / 355.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1314, allocations: 113.6 kB / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1314, allocations: 8.188 kB / 355.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1315, allocations: 8.078 kB / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1315, allocations: 7.938 kB / 355.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.1315, allocations: 19.98 kB / 355.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1316, allocations: 15.86 kB / 355.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.1316, allocations: 11.89 kB / 355.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1316, allocations: 4 kB / 355.5 MB, free: 15.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 8.306e-05/0.1317, allocations: 129.8 kB / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1319, allocations: 81.62 kB / 355.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.1319, allocations: 12.72 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1319, allocations: 4 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1319, allocations: 0 / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1319, allocations: 3.984 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1322, allocations: 181.6 kB / 355.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1322, allocations: 0 / 355.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.1323, allocations: 19.98 kB / 355.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1323, allocations: 7.938 kB / 355.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1323, allocations: 4 kB / 355.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1323, allocations: 4 kB / 355.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1323, allocations: 0 / 355.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1327, allocations: 339.7 kB / 356.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1328, allocations: 96.98 kB / 356.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1329, allocations: 4 kB / 356.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.133, allocations: 7.953 kB / 356.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.133, allocations: 4 kB / 356.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.133, allocations: 0 / 356.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1331, allocations: 111.2 kB / 356.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1331, allocations: 4 kB / 356.5 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1334, allocations: 12 kB / 356.5 MB, free: 13.99 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 (10): * Single equations (assignments): 10 * 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.0006212/0.134, allocations: 1.01 MB / 357.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1342, allocations: 72.47 kB / 357.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1342, allocations: 0 / 357.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.1342, allocations: 8 kB / 357.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1346, allocations: 52.77 kB / 357.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1366, allocations: 1.789 MB / 359.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1369, allocations: 0.7014 MB / 360.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.137, allocations: 4.672 kB / 360.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.137, allocations: 23.42 kB / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.137, allocations: 0 / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.1489, allocations: 1.569 MB / 361.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.1491, allocations: 201.5 kB / 361.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.851, allocations: 0 / 361.9 MB, free: 8.492 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat