Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 96.91 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002507, allocations: 8 kB / 306.7 MB, free: 1.508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1223, allocations: 51.5 MB / 358.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001701/0.1241, allocations: 1.192 MB / 359.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.1248, allocations: 447.3 kB / 359.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.1248, allocations: 4 kB / 359.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1249, allocations: 3.938 kB / 359.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.125, allocations: 23.89 kB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1251, allocations: 23.92 kB / 359.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.1252, allocations: 43.92 kB / 359.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.1253, allocations: 11.97 kB / 359.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1255, allocations: 31.86 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.1256, allocations: 27.89 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1256, allocations: 4 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.1257, allocations: 8 kB / 360 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1257, allocations: 19.86 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.1257, allocations: 33.7 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1258, allocations: 36.2 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1258, allocations: 0 / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1258, allocations: 0 / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1259, allocations: 0 / 360.1 MB, free: 12.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006381/0.1265, allocations: 399 kB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1266, allocations: 12.03 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.1266, allocations: 34.5 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.1269, allocations: 35.88 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1271, allocations: 174.9 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1271, allocations: 11.95 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1271, allocations: 0 / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.1274, allocations: 88.22 kB / 360.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1274, allocations: 4 kB / 360.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1274, allocations: 4 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1274, allocations: 4 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.1277, allocations: 75.88 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1279, allocations: 187.4 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1282, allocations: 111.8 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1282, allocations: 8.016 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1282, allocations: 38.5 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1282, allocations: 4 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005325/0.1288, allocations: 161.6 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1289, allocations: 110.8 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.129, allocations: 122.1 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.129, allocations: 29.7 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.129, allocations: 92.33 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1291, allocations: 15.83 kB / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1291, allocations: 0 / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1292, allocations: 314.8 kB / 362.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1293, allocations: 35.97 kB / 362.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1295, allocations: 70.41 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1296, allocations: 47.91 kB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1296, allocations: 0 / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003243/0.13, allocations: 133.4 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.13, allocations: 4 kB / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.13, allocations: 0 / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.13, allocations: 0 / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1301, allocations: 19.98 kB / 362.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1302, allocations: 4 kB / 362.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.1303, allocations: 16.08 kB / 362.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1303, allocations: 11.98 kB / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 7.397e-05/0.1304, allocations: 113.8 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1304, allocations: 11.86 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.1304, allocations: 11.83 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1304, allocations: 4.094 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1304, allocations: 3.984 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1305, allocations: 4 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.1306, allocations: 185.6 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1306, allocations: 3.984 kB / 362.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1307, allocations: 19.98 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1307, allocations: 0 / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1307, allocations: 3.953 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1307, allocations: 4 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.1308, allocations: 3.984 kB / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1311, allocations: 190.1 kB / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.1312, allocations: 88.95 kB / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1312, allocations: 0 / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.1313, allocations: 15.98 kB / 363.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1313, allocations: 7.984 kB / 363.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1314, allocations: 4 kB / 363.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.1314, allocations: 101.5 kB / 363.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 0 / 363.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.1316, allocations: 8 kB / 363.2 MB, free: 8.594 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.0006456/0.1323, allocations: 0.8525 MB / 364 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1326, allocations: 88 kB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1326, allocations: 0 / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1328, allocations: 56.08 kB / 364.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.282e-05/0.1329, allocations: 4.062 kB / 364.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.1334, allocations: 253.7 kB / 364.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1336, allocations: 0.6887 MB / 365.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.1337, allocations: 4 kB / 365.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.1337, allocations: 19.42 kB / 365.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1337, allocations: 0 / 365.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.145, allocations: 1.404 MB / 366.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.1452, allocations: 175.5 kB / 366.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.887, allocations: 4 kB / 366.7 MB, free: 4.977 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat