Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",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.000904/0.0009041, allocations: 94.75 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.001119/0.001119, allocations: 183.2 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.373/1.373, allocations: 223.2 MB / 241.1 MB, free: 384 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 9.25 kB / 300.8 MB, free: 6.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 50.41 MB / 351.2 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001998/0.1347, allocations: 1.171 MB / 352.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.1356, allocations: 420.1 kB / 352.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.1357, allocations: 0 / 352.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.1357, allocations: 0 / 352.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1358, allocations: 31.89 kB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.136, allocations: 19.86 kB / 352.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1362, allocations: 47.86 kB / 352.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.1363, allocations: 4 kB / 352.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1364, allocations: 27.91 kB / 352.9 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1365, allocations: 27.91 kB / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1365, allocations: 4 kB / 353 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.1365, allocations: 4 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1366, allocations: 15.92 kB / 353 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1366, allocations: 33.7 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.062e-05/0.1367, allocations: 28.2 kB / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1367, allocations: 0 / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1367, allocations: 0 / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1367, allocations: 3.938 kB / 353 MB, free: 2.113 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009153/0.1376, allocations: 395.1 kB / 353.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1377, allocations: 8.031 kB / 353.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.1377, allocations: 42.52 kB / 353.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1378, allocations: 3.906 kB / 353.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.138, allocations: 178.9 kB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.138, allocations: 0 / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.138, allocations: 0 / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1383, allocations: 96.22 kB / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1383, allocations: 3.938 kB / 353.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1383, allocations: 0 / 353.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1383, allocations: 11.94 kB / 353.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.1386, allocations: 75.94 kB / 353.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.1388, allocations: 187.5 kB / 354 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.1393, allocations: 111.8 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1393, allocations: 4 kB / 354.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1393, allocations: 42.47 kB / 354.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.1393, allocations: 0 / 354.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006671/0.14, allocations: 169.7 kB / 354.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.1401, allocations: 110.8 kB / 354.5 MB, free: 480 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1403, allocations: 122.1 kB / 354.6 MB, free: 344 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1403, allocations: 29.7 kB / 354.6 MB, free: 308 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.1403, allocations: 92.12 kB / 354.7 MB, free: 212 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1405, allocations: 15.84 kB / 354.7 MB, free: 196 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1405, allocations: 0 / 354.7 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003423/0.1409, allocations: 318.9 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.141, allocations: 39.91 kB / 355.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1412, allocations: 62.55 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1415, allocations: 35.97 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1415, allocations: 8 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003295/0.1419, allocations: 133.5 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1419, allocations: 4 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1419, allocations: 0 / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1419, allocations: 4 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1421, allocations: 19.97 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1421, allocations: 4 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1422, allocations: 19.97 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1422, allocations: 4 kB / 355.4 MB, free: 15.53 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 0.0001079/0.1423, allocations: 117.8 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.1424, allocations: 7.906 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.1424, allocations: 11.86 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1424, allocations: 8 kB / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1424, allocations: 0 / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1424, allocations: 0 / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1426, allocations: 177.6 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1426, allocations: 0 / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1427, allocations: 27.97 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1427, allocations: 0 / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1428, allocations: 4 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1428, allocations: 0 / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1428, allocations: 0 / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.1432, allocations: 190 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1433, allocations: 85.02 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1433, allocations: 3.984 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.1434, allocations: 19.92 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.1434, allocations: 7.953 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1435, allocations: 4 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.1435, allocations: 103.2 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1435, allocations: 0 / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1437, allocations: 8 kB / 356.1 MB, free: 14.65 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.0008433/0.1446, allocations: 0.8564 MB / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1449, allocations: 88.05 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1449, allocations: 4 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1451, allocations: 43.91 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1453, allocations: 8 kB / 357.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.146, allocations: 242.2 kB / 357.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1463, allocations: 0.6926 MB / 358 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1464, allocations: 16.09 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.1465, allocations: 15.44 kB / 358.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1465, allocations: 0 / 358.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1587, allocations: 1.408 MB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.159, allocations: 179 kB / 359.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.941, allocations: 0 / 359.6 MB, free: 11.04 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat