Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.001737/0.001736, allocations: 113.9 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.002108/0.002108, allocations: 212.9 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.486/1.486, allocations: 227.4 MB / 252.3 MB, free: 92 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.2348/0.2348, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 80.31 kB / 490.8 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1247, allocations: 62.45 MB / 0.5403 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001627/0.1264, allocations: 485 kB / 0.5408 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1285, allocations: 1.265 MB / 0.542 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.1286, allocations: 0 / 0.542 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.1286, allocations: 4 kB / 0.542 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.1288, allocations: 19.92 kB / 0.542 GB, free: 2.512 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1299, allocations: 242.8 kB / 0.5423 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.13, allocations: 3.984 kB / 0.5423 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.13, allocations: 8 kB / 0.5423 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.1301, allocations: 3.984 kB / 0.5423 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.1302, allocations: 4 kB / 0.5423 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-06/0.1302, allocations: 0 / 0.5423 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.1342, allocations: 0.6852 MB / 0.543 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.1342, allocations: 3.938 kB / 0.543 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.1343, allocations: 8 kB / 0.543 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1346, allocations: 175.5 kB / 0.5431 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1346, allocations: 4 kB / 0.5431 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1346, allocations: 4 kB / 0.5432 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1346, allocations: 3.938 kB / 0.5432 GB, free: 1.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004464/0.1351, allocations: 388.8 kB / 0.5435 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1351, allocations: 8.031 kB / 0.5435 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.1351, allocations: 0.9375 kB / 0.5435 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1353, allocations: 164.4 kB / 0.5437 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1353, allocations: 384 / 0.5437 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1353, allocations: 4.312 kB / 0.5437 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.1354, allocations: 38.25 kB / 0.5437 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1354, allocations: 192 / 0.5437 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1355, allocations: 3.938 kB / 0.5437 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1355, allocations: 7.922 kB / 0.5437 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.1355, allocations: 0 / 0.5437 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1356, allocations: 149.7 kB / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.1357, allocations: 14.58 kB / 0.5439 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.1357, allocations: 16.88 kB / 0.5439 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.1357, allocations: 4 kB / 0.5439 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.1358, allocations: 56.27 kB / 0.544 GB, free: 496 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1358, allocations: 0 / 0.544 GB, free: 496 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001903/0.136, allocations: 67.34 kB / 0.544 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.1361, allocations: 85.09 kB / 0.5441 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.1362, allocations: 89.86 kB / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1362, allocations: 25.95 kB / 0.5442 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.1362, allocations: 88.14 kB / 0.5443 GB, free: 88 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1363, allocations: 0 / 0.5443 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1363, allocations: 13.72 kB / 0.5443 GB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1365, allocations: 314.8 kB / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.1365, allocations: 3.938 kB / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.1365, allocations: 3.984 kB / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.1365, allocations: 60.27 kB / 0.5447 GB, free: 15.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1366, allocations: 4.062 kB / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.623e-05/0.1367, allocations: 67.36 kB / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.1367, allocations: 33.7 kB / 0.5448 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1367, allocations: 3.938 kB / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1367, allocations: 3.984 kB / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1367, allocations: 0 / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1367, allocations: 0 / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.1368, allocations: 3.938 kB / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1368, allocations: 0 / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.418e-05/0.1369, allocations: 143.5 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.1369, allocations: 0 / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.393e-05/0.1369, allocations: 7.062 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1369, allocations: 4 kB / 0.5449 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1369, allocations: 3.938 kB / 0.545 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1369, allocations: 0 / 0.545 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1371, allocations: 149.7 kB / 0.5451 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1371, allocations: 0 / 0.5451 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-06/0.1371, allocations: 7.938 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1371, allocations: 0 / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1371, allocations: 7.938 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1371, allocations: 4 kB / 0.5451 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1371, allocations: 0 / 0.5451 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1372, allocations: 90.83 kB / 0.5452 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.1373, allocations: 77.11 kB / 0.5453 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1373, allocations: 7.938 kB / 0.5453 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.1373, allocations: 0 / 0.5453 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.1373, allocations: 4.016 kB / 0.5453 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1373, allocations: 7.938 kB / 0.5453 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.328e-05/0.1374, allocations: 79.28 kB / 0.5454 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1374, allocations: 0 / 0.5454 GB, free: 14.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1377, allocations: 59.86 kB / 0.5454 GB, free: 14.79 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008705/0.1386, allocations: 340.9 kB / 0.5458 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1387, allocations: 63.41 kB / 0.5458 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1387, allocations: 0 / 0.5458 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.1387, allocations: 55.41 kB / 0.5459 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1389, allocations: 7.938 kB / 0.5459 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.1391, allocations: 106.7 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1394, allocations: 0.669 MB / 0.5466 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.1394, allocations: 7.438 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1394, allocations: 4 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Templates: time 0.003982/0.1434, allocations: 1.68 MB / 0.5483 GB, free: 11.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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: 8.226895318017341]