Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001275/0.001275, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001411/0.001411, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.496/1.496, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2567/0.2567, allocations: 46.89 MB / 358.1 MB, free: 10.53 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-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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "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.002263/0.002263, allocations: 81.09 kB / 0.4924 GB, free: 26.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1296, allocations: 65.98 MB / 0.5568 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003338/0.1329, allocations: 1.601 MB / 0.5584 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.134, allocations: 0.5372 MB / 0.5589 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.134, allocations: 3.938 kB / 0.5589 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1343, allocations: 23.86 kB / 0.5589 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1346, allocations: 83.61 kB / 0.559 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1348, allocations: 83.72 kB / 0.5591 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.135, allocations: 67.88 kB / 0.5592 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1351, allocations: 11.94 kB / 0.5592 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.1351, allocations: 23.86 kB / 0.5592 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.1352, allocations: 27.84 kB / 0.5592 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1352, allocations: 3.938 kB / 0.5592 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.1353, allocations: 31.98 kB / 0.5592 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.1354, allocations: 15.94 kB / 0.5593 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1354, allocations: 23.86 kB / 0.5593 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1356, allocations: 79.66 kB / 0.5594 GB, free: 6.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1356, allocations: 0 / 0.5594 GB, free: 6.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1356, allocations: 0 / 0.5594 GB, free: 6.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1356, allocations: 0 / 0.5594 GB, free: 6.008 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005138/0.1361, allocations: 386.9 kB / 0.5597 GB, free: 5.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1361, allocations: 8.031 kB / 0.5597 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1362, allocations: 8.891 kB / 0.5597 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1364, allocations: 192.2 kB / 0.5599 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1364, allocations: 4.375 kB / 0.5599 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1364, allocations: 4.359 kB / 0.5599 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1366, allocations: 50.25 kB / 0.56 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1366, allocations: 192 / 0.56 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1366, allocations: 3.938 kB / 0.56 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1366, allocations: 0 / 0.56 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.1367, allocations: 19.98 kB / 0.56 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.1371, allocations: 280.9 kB / 0.5603 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1373, allocations: 46.48 kB / 0.5603 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1373, allocations: 16.86 kB / 0.5603 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1374, allocations: 7.922 kB / 0.5603 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1374, allocations: 34.56 kB / 0.5604 GB, free: 4.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1374, allocations: 4 kB / 0.5604 GB, free: 4.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005608/0.138, allocations: 145.4 kB / 0.5605 GB, free: 4.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.138, allocations: 51.41 kB / 0.5606 GB, free: 4.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1382, allocations: 152.6 kB / 0.5607 GB, free: 4.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1382, allocations: 25.7 kB / 0.5607 GB, free: 4.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.1382, allocations: 96.12 kB / 0.5608 GB, free: 4.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1383, allocations: 23.8 kB / 0.5609 GB, free: 4.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1383, allocations: 17.7 kB / 0.5609 GB, free: 4.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1385, allocations: 322.8 kB / 0.5612 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-05/0.1385, allocations: 19.92 kB / 0.5612 GB, free: 3.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.1386, allocations: 23.92 kB / 0.5612 GB, free: 3.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1387, allocations: 44.83 kB / 0.5613 GB, free: 3.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1387, allocations: 4 kB / 0.5613 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.1389, allocations: 81.62 kB / 0.5613 GB, free: 3.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1389, allocations: 7.984 kB / 0.5614 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1389, allocations: 0 / 0.5614 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1389, allocations: 0 / 0.5614 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.139, allocations: 15.94 kB / 0.5614 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.139, allocations: 0 / 0.5614 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1391, allocations: 7.984 kB / 0.5614 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1391, allocations: 0 / 0.5614 GB, free: 3.715 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.227e-05/0.1392, allocations: 121.8 kB / 0.5615 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1392, allocations: 7.953 kB / 0.5615 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.1394, allocations: 97.94 kB / 0.5616 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1394, allocations: 0 / 0.5616 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1394, allocations: 0 / 0.5616 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1394, allocations: 0 / 0.5616 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.1399, allocations: 346.8 kB / 0.5619 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1399, allocations: 8 kB / 0.5619 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.1399, allocations: 11.98 kB / 0.5619 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1399, allocations: 0 / 0.5619 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.14, allocations: 4 kB / 0.5619 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.14, allocations: 0 / 0.5619 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.14, allocations: 7.938 kB / 0.562 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1402, allocations: 187.3 kB / 0.5621 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1402, allocations: 81.06 kB / 0.5622 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1403, allocations: 0 / 0.5622 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.1403, allocations: 7.984 kB / 0.5622 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1404, allocations: 8.219 kB / 0.5622 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1404, allocations: 0 / 0.5622 GB, free: 2.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1405, allocations: 121.7 kB / 0.5623 GB, free: 2.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1405, allocations: 0 / 0.5623 GB, free: 2.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1407, allocations: 16 kB / 0.5624 GB, free: 2.602 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 (5): * Single equations (assignments): 5 * 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.001474/0.1422, allocations: 409.7 kB / 0.5627 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1424, allocations: 47.91 kB / 0.5628 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1424, allocations: 0 / 0.5628 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.1425, allocations: 27.92 kB / 0.5628 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1428, allocations: 24.77 kB / 0.5628 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.1433, allocations: 207.8 kB / 0.563 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1436, allocations: 0.6924 MB / 0.5637 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.1436, allocations: 19.36 kB / 0.5637 GB, free: 1.277 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1437, allocations: 0 / 0.5637 GB, free: 1.277 MB / 414.1 MB Notification: Performance of Templates: time 0.003817/0.1475, allocations: 1.42 MB / 0.5651 GB, free: 15.85 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.936972821131349]