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.001259/0.001259, allocations: 93.19 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 208.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001875/0.1464, allocations: 1.372 MB / 482.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.1466, allocations: 79.7 kB / 483 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.1467, allocations: 4 kB / 483 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.1467, allocations: 7.922 kB / 483 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.1468, allocations: 23.94 kB / 483 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.967e-05/0.1469, allocations: 23.98 kB / 483 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.147, allocations: 67.84 kB / 483.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1471, allocations: 40.28 kB / 483.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.1472, allocations: 31.92 kB / 483.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1473, allocations: 43.78 kB / 483.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1473, allocations: 4 kB / 483.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.1473, allocations: 8 kB / 483.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.1473, allocations: 15.98 kB / 483.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.1474, allocations: 41.64 kB / 483.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.599e-05/0.1475, allocations: 92.02 kB / 483.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1475, allocations: 0 / 483.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1475, allocations: 0 / 483.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1475, allocations: 0 / 483.4 MB, free: 3.402 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.0004433/0.1479, allocations: 383.3 kB / 483.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.148, allocations: 8.031 kB / 483.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.148, allocations: 46.55 kB / 483.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1481, allocations: 15.75 kB / 483.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1482, allocations: 175 kB / 484 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1482, allocations: 8.234 kB / 484 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1482, allocations: 12 kB / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1485, allocations: 128.9 kB / 484.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1485, allocations: 4 kB / 484.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1485, allocations: 11.92 kB / 484.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1485, allocations: 7.938 kB / 484.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1486, allocations: 63.97 kB / 484.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.1494, allocations: 0.7234 MB / 484.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.1494, allocations: 165.1 kB / 485.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1495, allocations: 79.22 kB / 485.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1495, allocations: 113.8 kB / 485.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1495, allocations: 0 / 485.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.685e-05/0.1496, allocations: 37.56 kB / 485.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1497, allocations: 126.7 kB / 485.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1498, allocations: 148.2 kB / 485.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1498, allocations: 25.7 kB / 485.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.1499, allocations: 131.5 kB / 485.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.1499, allocations: 0 / 485.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1499, allocations: 0 / 485.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.15, allocations: 322.8 kB / 486.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.15, allocations: 0 / 486.1 MB, free: 468 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.1501, allocations: 45.09 kB / 486.1 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.1501, allocations: 16 kB / 486.1 MB, free: 388 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1501, allocations: 0 / 486.1 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001418/0.1503, allocations: 77.55 kB / 486.2 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1503, allocations: 8 kB / 486.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1503, allocations: 192 / 486.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1503, allocations: 8 kB / 486.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.1504, allocations: 11.95 kB / 486.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1504, allocations: 3.938 kB / 486.2 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1505, allocations: 11.84 kB / 486.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1505, allocations: 4 kB / 486.2 MB, free: 256 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.0001014/0.1506, allocations: 189.1 kB / 486.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.1507, allocations: 112.9 kB / 486.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.1507, allocations: 120.8 kB / 486.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.1508, allocations: 176.3 kB / 486.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.375e-05/0.1508, allocations: 184.2 kB / 487 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/0.1509, allocations: 180.2 kB / 487.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1512, allocations: 437.2 kB / 487.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/0.1512, allocations: 108.9 kB / 487.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1513, allocations: 113 kB / 487.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.914e-05/0.1513, allocations: 180.2 kB / 488 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.1514, allocations: 176.3 kB / 488.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.568e-05/0.1514, allocations: 184.2 kB / 488.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-05/0.1515, allocations: 180.2 kB / 488.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1516, allocations: 315.6 kB / 488.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.1517, allocations: 186.1 kB / 489 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.1518, allocations: 184.3 kB / 489.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1519, allocations: 108.9 kB / 489.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.1519, allocations: 180.3 kB / 489.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.152, allocations: 108.9 kB / 489.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.152, allocations: 113.4 kB / 489.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1521, allocations: 0 / 489.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1523, allocations: 23.86 kB / 489.7 MB, free: 12.55 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.0003624/0.1527, allocations: 0.8091 MB / 490.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.1527, allocations: 19.94 kB / 490.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1527, allocations: 0 / 490.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1528, allocations: 0 / 490.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1531, allocations: 0.5266 MB / 491.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.154, allocations: 1.365 MB / 492.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1543, allocations: 0.6965 MB / 493.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.523e-05/0.1543, allocations: 7.984 kB / 493.1 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.1543, allocations: 19.44 kB / 493.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1543, allocations: 3.938 kB / 493.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.1648, allocations: 1.363 MB / 494.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.165, allocations: 193.4 kB / 494.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.875, allocations: 0 / 494.7 MB, free: 7.477 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