Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 116 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 46.91 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 59.91 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1299, allocations: 66 MB / 0.5565 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003569/0.1335, allocations: 1.661 MB / 0.5582 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1347, allocations: 0.5611 MB / 0.5587 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.1348, allocations: 0 / 0.5587 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1351, allocations: 99.67 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1354, allocations: 107.6 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1358, allocations: 115.7 kB / 0.559 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.136, allocations: 103.7 kB / 0.5591 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1362, allocations: 19.98 kB / 0.5591 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1363, allocations: 47.83 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1364, allocations: 75.73 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1364, allocations: 8 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1366, allocations: 47.92 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.1366, allocations: 27.92 kB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.1367, allocations: 43.67 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.137, allocations: 127.4 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.137, allocations: 4 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.137, allocations: 0 / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.137, allocations: 0 / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006544/0.1376, allocations: 446.5 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1377, allocations: 12.03 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.1377, allocations: 12.84 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.138, allocations: 212.1 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.138, allocations: 4.375 kB / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1381, allocations: 8.375 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1383, allocations: 81.09 kB / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1383, allocations: 3.953 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1383, allocations: 0 / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1383, allocations: 4 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1384, allocations: 47.91 kB / 0.5603 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.139, allocations: 344.7 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1392, allocations: 62.5 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.1392, allocations: 20.84 kB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1393, allocations: 11.98 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1393, allocations: 38.72 kB / 0.5608 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.1393, allocations: 3.938 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00122/0.1405, allocations: 337.4 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1406, allocations: 55.41 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1408, allocations: 235.5 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1409, allocations: 25.7 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.141, allocations: 120.1 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.141, allocations: 47.55 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.1411, allocations: 29.7 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1412, allocations: 322.8 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1413, allocations: 47.97 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1415, allocations: 43.97 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1417, allocations: 108.8 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1417, allocations: 0 / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003133/0.142, allocations: 157.5 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.142, allocations: 8 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.142, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.142, allocations: 7.922 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1422, allocations: 31.92 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1422, allocations: 4.234 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1422, allocations: 0 / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1422, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001234/0.1424, allocations: 140 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.1424, allocations: 15.91 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.1429, allocations: 202.9 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1429, allocations: 4 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1429, allocations: 0 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1429, allocations: 0 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.1437, allocations: 499.1 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1437, allocations: 4.031 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1438, allocations: 35.92 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1438, allocations: 0 / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1438, allocations: 0 / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1438, allocations: 11.92 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1438, allocations: 0 / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.1442, allocations: 256.2 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.1442, allocations: 89.02 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1443, allocations: 8 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1443, allocations: 7.984 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1444, allocations: 11.98 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1444, allocations: 4 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1446, allocations: 177.2 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1446, allocations: 0 / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1448, allocations: 31.92 kB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001725/0.1466, allocations: 459.2 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.1469, allocations: 115.8 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1469, allocations: 0 / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.147, allocations: 51.97 kB / 0.5643 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1474, allocations: 27.67 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.1482, allocations: 361.5 kB / 0.5647 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1485, allocations: 0.7236 MB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1486, allocations: 23.44 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1486, allocations: 0 / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of Templates: time 0.004343/0.1529, allocations: 2.174 MB / 0.5675 GB, free: 9.801 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.005239771009656]