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.001541/0.001541, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001589/0.001589, allocations: 201 kB / 21.4 MB, free: 1.648 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.571/1.571, allocations: 227.4 MB / 251.7 MB, free: 15.89 MB / 206.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.2433/0.2433, allocations: 46.18 MB / 351.1 MB, free: 14.24 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.002219/0.002219, allocations: 81.2 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 62.45 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003633/0.1325, allocations: 1.727 MB / 0.5413 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.1328, allocations: 83.66 kB / 0.5414 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1329, allocations: 0 / 0.5414 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.415e-05/0.133, allocations: 15.86 kB / 0.5414 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.1331, allocations: 23.77 kB / 0.5415 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.1332, allocations: 23.97 kB / 0.5415 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1333, allocations: 103.6 kB / 0.5416 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1336, allocations: 51.97 kB / 0.5416 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.1336, allocations: 47.78 kB / 0.5417 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.1337, allocations: 47.84 kB / 0.5417 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.1338, allocations: 15.94 kB / 0.5417 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.1338, allocations: 12 kB / 0.5418 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.1338, allocations: 15.98 kB / 0.5418 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1339, allocations: 55.73 kB / 0.5418 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1341, allocations: 123.4 kB / 0.5419 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1341, allocations: 0 / 0.5419 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.591e-06/0.1341, allocations: 4 kB / 0.5419 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1341, allocations: 3.938 kB / 0.5419 GB, free: 1.902 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.0005438/0.1347, allocations: 403.3 kB / 0.5423 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1347, allocations: 12.03 kB / 0.5423 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1348, allocations: 12.84 kB / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1349, allocations: 176.2 kB / 0.5425 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.135, allocations: 12.61 kB / 0.5425 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.135, allocations: 12.38 kB / 0.5425 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1352, allocations: 125.6 kB / 0.5427 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1352, allocations: 4.172 kB / 0.5427 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1353, allocations: 3.938 kB / 0.5427 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1353, allocations: 8 kB / 0.5427 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1354, allocations: 62.3 kB / 0.5427 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.1363, allocations: 0.7275 MB / 0.5434 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/0.1364, allocations: 173.1 kB / 0.5436 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1364, allocations: 80.14 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.1365, allocations: 75.28 kB / 0.5438 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.1365, allocations: 105.8 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1365, allocations: 0 / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.758e-05/0.1366, allocations: 33.64 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1367, allocations: 130.7 kB / 0.544 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1369, allocations: 153.5 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1369, allocations: 25.7 kB / 0.5442 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.137, allocations: 123.8 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.137, allocations: 4 kB / 0.5443 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.137, allocations: 21.67 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1372, allocations: 326.7 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.1372, allocations: 12 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.1373, allocations: 37.16 kB / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.1374, allocations: 57.08 kB / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1374, allocations: 0 / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001595/0.1375, allocations: 73.56 kB / 0.5448 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1375, allocations: 8 kB / 0.5448 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1376, allocations: 3.938 kB / 0.5448 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1376, allocations: 4.188 kB / 0.5448 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.1376, allocations: 12 kB / 0.5448 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1377, allocations: 0 / 0.5448 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.1377, allocations: 11.89 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1377, allocations: 7.938 kB / 0.5449 GB, free: 14.62 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.0001185/0.1378, allocations: 193.1 kB / 0.545 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.1379, allocations: 112.9 kB / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.138, allocations: 120.7 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/0.1381, allocations: 184.2 kB / 0.5454 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.592e-05/0.1382, allocations: 184.2 kB / 0.5456 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/0.1382, allocations: 180.4 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1385, allocations: 449.1 kB / 0.5462 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/0.1386, allocations: 101 kB / 0.5463 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.1386, allocations: 108.9 kB / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.1387, allocations: 176.3 kB / 0.5466 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.1388, allocations: 180.3 kB / 0.5468 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-05/0.1388, allocations: 184.3 kB / 0.5469 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-05/0.1389, allocations: 180.3 kB / 0.5471 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1391, allocations: 323.6 kB / 0.5474 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.1392, allocations: 186 kB / 0.5476 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.1393, allocations: 184.2 kB / 0.5478 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1394, allocations: 105 kB / 0.5479 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.1394, allocations: 184.2 kB / 0.548 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.1395, allocations: 109 kB / 0.5482 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.1396, allocations: 117.1 kB / 0.5483 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 0 / 0.5483 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1398, allocations: 12 kB / 0.5483 GB, free: 10.9 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.0001343/0.14, allocations: 166.5 kB / 0.5484 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.1401, allocations: 27.86 kB / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1401, allocations: 384 / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1401, allocations: 4 kB / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1405, allocations: 463.6 kB / 0.5489 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.1409, allocations: 242.5 kB / 0.5491 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1412, allocations: 0.7002 MB / 0.5498 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.1413, allocations: 4 kB / 0.5498 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.1413, allocations: 7.438 kB / 0.5498 GB, free: 9.238 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1413, allocations: 0 / 0.5498 GB, free: 9.238 MB / 414.1 MB Notification: Performance of Templates: time 0.002953/0.1443, allocations: 408.8 kB / 0.5502 GB, free: 8.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.218338678590953]