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.001219/0.001219, allocations: 97.7 kB / 17.01 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.00133/0.00133, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 8 kB / 306.8 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001814/0.1405, allocations: 1.196 MB / 359.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000773/0.1413, allocations: 455.2 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.1413, allocations: 7.938 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1413, allocations: 7.922 kB / 360 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.1415, allocations: 11.88 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1416, allocations: 27.95 kB / 360 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.1417, allocations: 59.72 kB / 360.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.1418, allocations: 7.984 kB / 360.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.142, allocations: 35.84 kB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.1421, allocations: 31.91 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1421, allocations: 4 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.1422, allocations: 7.984 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.1422, allocations: 7.938 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1422, allocations: 37.69 kB / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1424, allocations: 40.22 kB / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.1424, allocations: 3.984 kB / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1424, allocations: 0 / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1424, allocations: 0 / 360.2 MB, free: 11.83 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.0006926/0.1431, allocations: 395 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1432, allocations: 12.03 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.1432, allocations: 30.56 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.1435, allocations: 39.88 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1437, allocations: 170.9 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1437, allocations: 4 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1437, allocations: 3.953 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.144, allocations: 100.2 kB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.144, allocations: 0 / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.144, allocations: 3.938 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1441, allocations: 3.984 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.1443, allocations: 79.94 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.1446, allocations: 187.4 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1448, allocations: 111.8 kB / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.145, allocations: 58.61 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.145, allocations: 11.89 kB / 361.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1451, allocations: 42.5 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1451, allocations: 0 / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005264/0.1456, allocations: 169.7 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.1457, allocations: 102.8 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1459, allocations: 130 kB / 361.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1459, allocations: 25.7 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.146, allocations: 100.1 kB / 362 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.146, allocations: 11.94 kB / 362 MB, free: 9.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.146, allocations: 0 / 362 MB, free: 9.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1462, allocations: 322.8 kB / 362.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1463, allocations: 35.97 kB / 362.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1465, allocations: 54.55 kB / 362.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1466, allocations: 47.97 kB / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1466, allocations: 0 / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003332/0.147, allocations: 129.5 kB / 362.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.147, allocations: 6.5 kB / 362.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.147, allocations: 4 kB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1471, allocations: 0 / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1472, allocations: 23.97 kB / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1472, allocations: 0 / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.1473, allocations: 20.05 kB / 362.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1473, allocations: 4 kB / 362.6 MB, free: 9.148 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.0001115/0.1475, allocations: 113.8 kB / 362.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1475, allocations: 11.86 kB / 362.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.1475, allocations: 23.81 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1475, allocations: 0 / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1475, allocations: 0 / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1476, allocations: 4 kB / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1477, allocations: 177.6 kB / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1477, allocations: 0 / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1479, allocations: 19.98 kB / 363 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1479, allocations: 4 kB / 363 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1479, allocations: 7.938 kB / 363 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1479, allocations: 0 / 363 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1479, allocations: 4 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1483, allocations: 158.6 kB / 363.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.1483, allocations: 88.95 kB / 363.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1483, allocations: 4 kB / 363.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.1484, allocations: 19.94 kB / 363.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1485, allocations: 7.984 kB / 363.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1485, allocations: 0 / 363.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.39e-05/0.1486, allocations: 105.5 kB / 363.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1486, allocations: 0 / 363.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.1488, allocations: 15.98 kB / 363.4 MB, free: 8.293 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.0006684/0.1495, allocations: 0.6881 MB / 364.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1498, allocations: 91.86 kB / 364.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1498, allocations: 0 / 364.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.15, allocations: 44.16 kB / 364.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.1502, allocations: 11.95 kB / 364.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.1508, allocations: 245.9 kB / 364.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1511, allocations: 0.6848 MB / 365.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.468e-05/0.1512, allocations: 12.17 kB / 365.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.1512, allocations: 19.42 kB / 365.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1513, allocations: 0 / 365.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.1644, allocations: 1.42 MB / 366.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.1646, allocations: 187.1 kB / 366.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.053, allocations: 0 / 366.8 MB, free: 4.84 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