Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",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.0009989/0.0009995, allocations: 98.47 kB / 17 MB, free: 6.418 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.001153/0.001153, allocations: 189.3 kB / 17.89 MB, free: 5.945 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.414/1.414, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002989, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001896/0.139, allocations: 1.39 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001461/0.1392, allocations: 75.72 kB / 473.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.1392, allocations: 0 / 473.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.1393, allocations: 15.91 kB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.1393, allocations: 19.84 kB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.675e-05/0.1394, allocations: 11.98 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1396, allocations: 95.59 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1397, allocations: 40.3 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1398, allocations: 35.86 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.1398, allocations: 39.84 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1399, allocations: 4 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/0.1399, allocations: 12 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.1399, allocations: 15.92 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.14, allocations: 45.64 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.697e-05/0.1401, allocations: 88.02 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1401, allocations: 0 / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1401, allocations: 0 / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1401, allocations: 0 / 473.5 MB, free: 11.75 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.0004382/0.1405, allocations: 383.3 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1406, allocations: 8.031 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.1406, allocations: 50.55 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.1407, allocations: 11.81 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1408, allocations: 171 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1408, allocations: 8.234 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1409, allocations: 15.95 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1411, allocations: 125 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1411, allocations: 3.938 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1411, allocations: 8 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1411, allocations: 7.938 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1413, allocations: 63.97 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.1421, allocations: 0.7312 MB / 475.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.533e-05/0.1422, allocations: 165.1 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.1422, allocations: 80.14 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1422, allocations: 79.22 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1423, allocations: 121.8 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1423, allocations: 0 / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.156e-05/0.1424, allocations: 33.61 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1424, allocations: 126.7 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1426, allocations: 148.5 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1426, allocations: 25.7 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1426, allocations: 123.5 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.1427, allocations: 8 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.1427, allocations: 0 / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1428, allocations: 318.8 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.1428, allocations: 8 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.1429, allocations: 45.08 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.1429, allocations: 16 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1429, allocations: 0 / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001471/0.1431, allocations: 73.56 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1431, allocations: 4 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1431, allocations: 0 / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1431, allocations: 8.188 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.1432, allocations: 11.98 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1432, allocations: 4 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1432, allocations: 7.844 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1433, allocations: 8 kB / 476.5 MB, free: 8.512 MB / 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.0001052/0.1434, allocations: 197.5 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.1434, allocations: 108.9 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.1435, allocations: 116.8 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.188e-05/0.1436, allocations: 184.3 kB / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.619e-05/0.1436, allocations: 176.3 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/0.1437, allocations: 184.2 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.1439, allocations: 437.1 kB / 477.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/0.144, allocations: 109 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.144, allocations: 109 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.549e-05/0.1441, allocations: 188.2 kB / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.1442, allocations: 184.2 kB / 478.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.331e-05/0.1442, allocations: 176.3 kB / 478.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.336e-05/0.1443, allocations: 180.2 kB / 478.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.1444, allocations: 319.7 kB / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1445, allocations: 182 kB / 479.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.1446, allocations: 180.3 kB / 479.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.1447, allocations: 108.9 kB / 479.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.1447, allocations: 184.2 kB / 479.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.1448, allocations: 105 kB / 479.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.1448, allocations: 117 kB / 479.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1449, allocations: 0 / 479.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1451, allocations: 19.91 kB / 480 MB, free: 4.801 MB / 350.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.0003761/0.1455, allocations: 0.8125 MB / 480.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.1456, allocations: 19.94 kB / 480.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1456, allocations: 0 / 480.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1456, allocations: 0 / 480.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.146, allocations: 0.5228 MB / 481.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.1468, allocations: 0.6256 MB / 481.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1471, allocations: 0.6926 MB / 482.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.1471, allocations: 4 kB / 482.6 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1472, allocations: 27.42 kB / 482.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1472, allocations: 3.938 kB / 482.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.1586, allocations: 1.372 MB / 484 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.1589, allocations: 183.1 kB / 484.2 MB, free: 492 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.893, allocations: 3.938 kB / 484.2 MB, free: 488 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat