Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001349/0.001349, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2452/0.2452, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 85.97 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002886/0.1357, allocations: 1.728 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.1358, allocations: 75.72 kB / 482 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.1359, allocations: 4 kB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.1359, allocations: 15.8 kB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.136, allocations: 23.78 kB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.144e-05/0.1361, allocations: 27.97 kB / 482.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1362, allocations: 99.59 kB / 482.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1364, allocations: 59.95 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.1364, allocations: 39.86 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.1365, allocations: 43.84 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1365, allocations: 12 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.1366, allocations: 12 kB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.1366, allocations: 19.92 kB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.1367, allocations: 51.73 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1368, allocations: 123.8 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1368, allocations: 0 / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1368, allocations: 0 / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1368, allocations: 0 / 482.5 MB, free: 2.797 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.0004953/0.1373, allocations: 403.4 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1374, allocations: 8.031 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.1374, allocations: 50.67 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1375, allocations: 12.84 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1376, allocations: 168.3 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1376, allocations: 12.61 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1377, allocations: 8.375 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1379, allocations: 137.5 kB / 483.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1379, allocations: 3.938 kB / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1379, allocations: 0 / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1379, allocations: 4 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.138, allocations: 63.97 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008578/0.1389, allocations: 0.7234 MB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.139, allocations: 169.1 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.1391, allocations: 92.06 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1391, allocations: 75.28 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.1392, allocations: 105.8 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1392, allocations: 0 / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.68e-05/0.1393, allocations: 33.61 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1393, allocations: 130.7 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1395, allocations: 152.4 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1395, allocations: 25.7 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.1396, allocations: 127.6 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.1396, allocations: 0 / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1397, allocations: 17.72 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1398, allocations: 326.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.1398, allocations: 8 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.1399, allocations: 45.16 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.14, allocations: 57.12 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.14, allocations: 3.984 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001445/0.1401, allocations: 81.41 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1402, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1402, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1402, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.1403, allocations: 11.94 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1403, allocations: 4 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1403, allocations: 15.97 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1403, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.1405, allocations: 189.1 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.1405, allocations: 113.1 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.1406, allocations: 112.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/0.1407, allocations: 180.3 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.741e-05/0.1408, allocations: 188.2 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/0.1409, allocations: 188.3 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1411, allocations: 445.1 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/0.1412, allocations: 101 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1412, allocations: 101 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/0.1413, allocations: 180.2 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-05/0.1414, allocations: 184.3 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.589e-05/0.1415, allocations: 184.2 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.486e-05/0.1416, allocations: 180.3 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.1417, allocations: 311.6 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.1418, allocations: 194 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.1419, allocations: 184.2 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.142, allocations: 105 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.1421, allocations: 176.3 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.1422, allocations: 112.8 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1423, allocations: 115.2 kB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1423, allocations: 4 kB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1425, allocations: 15.94 kB / 489 MB, free: 11.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005574/0.1431, allocations: 0.8048 MB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.587e-05/0.1432, allocations: 24.19 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1432, allocations: 0 / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-06/0.1432, allocations: 3.938 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.1437, allocations: 468 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1452, allocations: 1.586 MB / 491.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1456, allocations: 0.6952 MB / 492.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.885e-05/0.1456, allocations: 8 kB / 492.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.1457, allocations: 23.42 kB / 492.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1457, allocations: 0 / 492.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1682, allocations: 1.581 MB / 494.2 MB, free: 6.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.012, allocations: 5.078 kB / 494.2 MB, free: 6.477 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1)