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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 117 kB / 19.12 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 214.6 kB / 22.08 MB, free: 0.9922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 252.3 MB, free: 112 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.16 MB / 351.8 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 77.48 kB / 490.8 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.154, allocations: 62.44 MB / 0.5403 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003127/0.1571, allocations: 1.727 MB / 0.542 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.1573, allocations: 79.66 kB / 0.5421 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.1574, allocations: 4 kB / 0.5421 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.1575, allocations: 11.86 kB / 0.5421 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.1576, allocations: 23.78 kB / 0.5421 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.607e-05/0.1577, allocations: 27.97 kB / 0.5421 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1578, allocations: 99.59 kB / 0.5422 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.158, allocations: 66.75 kB / 0.5423 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.1581, allocations: 43.8 kB / 0.5424 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.1582, allocations: 47.78 kB / 0.5424 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1582, allocations: 12 kB / 0.5424 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.1582, allocations: 8 kB / 0.5424 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.1583, allocations: 19.98 kB / 0.5424 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1584, allocations: 51.73 kB / 0.5425 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1585, allocations: 123.5 kB / 0.5426 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1585, allocations: 3.984 kB / 0.5426 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1585, allocations: 4 kB / 0.5426 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1586, allocations: 0 / 0.5426 GB, free: 1.941 MB / 398.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.0005761/0.1591, allocations: 399.3 kB / 0.543 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1592, allocations: 8.031 kB / 0.543 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1592, allocations: 16.84 kB / 0.543 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.1594, allocations: 168.3 kB / 0.5432 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1594, allocations: 12.61 kB / 0.5432 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1595, allocations: 8.375 kB / 0.5432 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1597, allocations: 137.6 kB / 0.5433 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1597, allocations: 192 / 0.5433 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1598, allocations: 7.938 kB / 0.5433 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1598, allocations: 4 kB / 0.5433 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1599, allocations: 67.89 kB / 0.5434 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.1608, allocations: 0.7197 MB / 0.5441 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1609, allocations: 173.1 kB / 0.5443 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.161, allocations: 80.14 kB / 0.5443 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.161, allocations: 75.28 kB / 0.5444 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.1611, allocations: 109.8 kB / 0.5445 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1611, allocations: 0 / 0.5445 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.307e-05/0.1612, allocations: 41.62 kB / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1613, allocations: 126.7 kB / 0.5447 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1614, allocations: 151.7 kB / 0.5448 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1614, allocations: 25.7 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.1615, allocations: 127.8 kB / 0.545 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/0.1615, allocations: 0 / 0.545 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1616, allocations: 33.59 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1618, allocations: 322.8 kB / 0.5453 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.1618, allocations: 4 kB / 0.5453 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.1618, allocations: 41.14 kB / 0.5454 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.503e-05/0.1619, allocations: 57.09 kB / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1619, allocations: 0 / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001494/0.1621, allocations: 73.72 kB / 0.5455 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1621, allocations: 8 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1621, allocations: 3.938 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.1621, allocations: 4 kB / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.1622, allocations: 11.98 kB / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1622, allocations: 0 / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1623, allocations: 11.89 kB / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1623, allocations: 7.938 kB / 0.5455 GB, free: 14.66 MB / 414.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.0001316/0.1624, allocations: 189.1 kB / 0.5457 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.1625, allocations: 120.9 kB / 0.5458 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.1626, allocations: 120.7 kB / 0.5459 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.839e-05/0.1627, allocations: 180.2 kB / 0.5461 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.201e-05/0.1628, allocations: 180.4 kB / 0.5463 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.4e-05/0.1628, allocations: 180.4 kB / 0.5465 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1632, allocations: 449.1 kB / 0.5469 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/0.1632, allocations: 109 kB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.1633, allocations: 104.9 kB / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.1634, allocations: 176.3 kB / 0.5473 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.1634, allocations: 176.3 kB / 0.5474 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.318e-05/0.1635, allocations: 184.2 kB / 0.5476 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.731e-05/0.1636, allocations: 184.3 kB / 0.5478 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1638, allocations: 311.6 kB / 0.5481 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1639, allocations: 190 kB / 0.5483 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.284e-05/0.164, allocations: 184.2 kB / 0.5484 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1641, allocations: 105 kB / 0.5485 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1642, allocations: 188.2 kB / 0.5487 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.1642, allocations: 101 kB / 0.5488 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.507e-05/0.1643, allocations: 116.9 kB / 0.5489 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 0.5489 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1646, allocations: 16 kB / 0.5489 GB, free: 10.95 MB / 414.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.0001231/0.1647, allocations: 174.4 kB / 0.5491 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.1648, allocations: 23.94 kB / 0.5491 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1648, allocations: 0 / 0.5491 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1648, allocations: 0 / 0.5491 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1652, allocations: 469.1 kB / 0.5496 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.1656, allocations: 276.5 kB / 0.5498 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.166, allocations: 0.6963 MB / 0.5505 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.166, allocations: 7.438 kB / 0.5505 GB, free: 9.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.166, allocations: 4 kB / 0.5505 GB, free: 9.246 MB / 414.1 MB Notification: Performance of Templates: time 0.002387/0.1684, allocations: 0.8484 MB / 0.5513 GB, free: 8.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.532450861064717]