Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009159/0.0009158, allocations: 102.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008796/0.0008799, allocations: 189.7 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.511/1.511, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 45.92 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 4 kB / 418.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 63.48 MB / 481.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001858/0.1324, allocations: 1.392 MB / 483 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.1327, allocations: 83.66 kB / 483.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.1328, allocations: 4 kB / 483.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.1328, allocations: 7.922 kB / 483.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.1329, allocations: 19.84 kB / 483.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.467e-05/0.133, allocations: 15.98 kB / 483.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1331, allocations: 91.59 kB / 483.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1333, allocations: 48.27 kB / 483.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1333, allocations: 31.92 kB / 483.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.1334, allocations: 39.8 kB / 483.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1334, allocations: 8 kB / 483.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.1335, allocations: 4 kB / 483.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1335, allocations: 11.98 kB / 483.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1335, allocations: 45.64 kB / 483.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.1336, allocations: 92 kB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1336, allocations: 4 kB / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1336, allocations: 0 / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1337, allocations: 0 / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004094/0.1341, allocations: 387.3 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1341, allocations: 8.031 kB / 483.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1342, allocations: 46.5 kB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1342, allocations: 19.81 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1343, allocations: 174.9 kB / 484.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1343, allocations: 12.23 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1344, allocations: 12 kB / 484.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1346, allocations: 132.9 kB / 484.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1346, allocations: 0 / 484.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1346, allocations: 0 / 484.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1346, allocations: 4 kB / 484.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1347, allocations: 63.98 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.1355, allocations: 0.7234 MB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.1356, allocations: 173.1 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.1357, allocations: 88.14 kB / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1357, allocations: 75.28 kB / 485.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.1357, allocations: 105.8 kB / 485.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.1358, allocations: 0 / 485.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.948e-05/0.1358, allocations: 41.56 kB / 485.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1359, allocations: 134.6 kB / 485.7 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.136, allocations: 148.2 kB / 485.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1361, allocations: 25.7 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1361, allocations: 123.5 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.1361, allocations: 4 kB / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.1361, allocations: 0 / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1363, allocations: 322.8 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.1363, allocations: 8 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.1363, allocations: 41.16 kB / 486.3 MB, free: 300 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.1364, allocations: 8 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1364, allocations: 8 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001394/0.1365, allocations: 69.56 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1365, allocations: 7.984 kB / 486.4 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1366, allocations: 4 kB / 486.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1366, allocations: 3.953 kB / 486.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.1367, allocations: 11.94 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1367, allocations: 4 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.1367, allocations: 15.97 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1367, allocations: 8 kB / 486.5 MB, free: 152 kB / 350.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.0001171/0.1369, allocations: 193.1 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.1369, allocations: 112.9 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.137, allocations: 108.8 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/0.137, allocations: 180.3 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-05/0.1371, allocations: 192.2 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/0.1372, allocations: 180.2 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.1374, allocations: 441.2 kB / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/0.1375, allocations: 101 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.1375, allocations: 101 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-05/0.1376, allocations: 188.2 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.1376, allocations: 180.3 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-05/0.1377, allocations: 180.2 kB / 488.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-05/0.1377, allocations: 180.2 kB / 488.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.1378, allocations: 315.6 kB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1379, allocations: 186.2 kB / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.138, allocations: 188.2 kB / 489.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.1381, allocations: 101 kB / 489.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1381, allocations: 180.3 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.1382, allocations: 108.9 kB / 489.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.1382, allocations: 113.4 kB / 489.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1382, allocations: 0 / 489.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1385, allocations: 23.91 kB / 490 MB, free: 12.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003381/0.1388, allocations: 0.8052 MB / 490.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.1389, allocations: 24.17 kB / 490.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1389, allocations: 4.125 kB / 490.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.1389, allocations: 3.938 kB / 490.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1393, allocations: 0.5251 MB / 491.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.1402, allocations: 0.6235 MB / 491.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1404, allocations: 0.6926 MB / 492.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.404e-05/0.1404, allocations: 3.984 kB / 492.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.1405, allocations: 23.44 kB / 492.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1405, allocations: 4 kB / 492.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.1523, allocations: 1.366 MB / 494 MB, free: 8.383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.1526, allocations: 190.8 kB / 494.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.908, allocations: 0 / 494.2 MB, free: 8.137 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat