Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001385/0.001385, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.001489/0.001489, allocations: 208.9 kB / 22.13 MB, free: 0.9414 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.512/1.512, allocations: 230.2 MB / 255.2 MB, free: 15.4 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.2561/0.2561, allocations: 46.88 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34") [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.002305/0.002305, allocations: 82.36 kB / 0.4924 GB, free: 26.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1454, allocations: 65.99 MB / 0.5568 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003615/0.149, allocations: 1.628 MB / 0.5584 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1502, allocations: 0.541 MB / 0.5589 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.1503, allocations: 0 / 0.5589 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1505, allocations: 79.77 kB / 0.559 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1509, allocations: 103.6 kB / 0.5591 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1512, allocations: 91.7 kB / 0.5592 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1514, allocations: 83.81 kB / 0.5593 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1515, allocations: 15.92 kB / 0.5593 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.1516, allocations: 39.83 kB / 0.5593 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1517, allocations: 59.81 kB / 0.5594 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1517, allocations: 4 kB / 0.5594 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1518, allocations: 43.98 kB / 0.5594 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1519, allocations: 27.86 kB / 0.5595 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.1519, allocations: 31.73 kB / 0.5595 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1521, allocations: 103.5 kB / 0.5596 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1521, allocations: 8 kB / 0.5596 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1521, allocations: 0 / 0.5596 GB, free: 5.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1522, allocations: 0 / 0.5596 GB, free: 5.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000581/0.1527, allocations: 410.7 kB / 0.56 GB, free: 5.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1528, allocations: 8.031 kB / 0.56 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.1528, allocations: 20.78 kB / 0.56 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1531, allocations: 200.8 kB / 0.5602 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1531, allocations: 8.375 kB / 0.5602 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1531, allocations: 384 / 0.5602 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1533, allocations: 58.25 kB / 0.5603 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1533, allocations: 8.109 kB / 0.5603 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1533, allocations: 3.938 kB / 0.5603 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1533, allocations: 0 / 0.5603 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1534, allocations: 23.98 kB / 0.5603 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1538, allocations: 288.8 kB / 0.5606 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.154, allocations: 50.5 kB / 0.5606 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.154, allocations: 16.94 kB / 0.5607 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.154, allocations: 4 kB / 0.5607 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1541, allocations: 30.56 kB / 0.5607 GB, free: 4.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.1541, allocations: 0 / 0.5607 GB, free: 4.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009269/0.155, allocations: 229.2 kB / 0.5609 GB, free: 4.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.155, allocations: 55.41 kB / 0.561 GB, free: 4.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1553, allocations: 210.3 kB / 0.5612 GB, free: 3.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1553, allocations: 25.7 kB / 0.5612 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.1554, allocations: 112.1 kB / 0.5613 GB, free: 3.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1554, allocations: 23.75 kB / 0.5613 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1555, allocations: 29.7 kB / 0.5613 GB, free: 3.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1556, allocations: 330.7 kB / 0.5617 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.1557, allocations: 19.98 kB / 0.5617 GB, free: 3.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.1558, allocations: 27.98 kB / 0.5617 GB, free: 3.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1559, allocations: 68.83 kB / 0.5618 GB, free: 3.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1559, allocations: 0 / 0.5618 GB, free: 3.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.1562, allocations: 97.61 kB / 0.5619 GB, free: 3.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1562, allocations: 9.875 kB / 0.5619 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1562, allocations: 0 / 0.5619 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1562, allocations: 0 / 0.5619 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1563, allocations: 23.92 kB / 0.5619 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1563, allocations: 4 kB / 0.5619 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.1564, allocations: 0 / 0.5619 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1564, allocations: 4 kB / 0.5619 GB, free: 3.152 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 (8): * Single equations (assignments): 8 * 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.0001238/0.1565, allocations: 141.7 kB / 0.562 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1565, allocations: 12.33 kB / 0.5621 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.1568, allocations: 111 kB / 0.5622 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1568, allocations: 0 / 0.5622 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1568, allocations: 8 kB / 0.5622 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1568, allocations: 3.984 kB / 0.5622 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.1574, allocations: 415.6 kB / 0.5626 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1574, allocations: 0 / 0.5626 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.1575, allocations: 19.92 kB / 0.5626 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1575, allocations: 0 / 0.5626 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1575, allocations: 7.938 kB / 0.5626 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1575, allocations: 0 / 0.5626 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1575, allocations: 80 / 0.5626 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1578, allocations: 208.3 kB / 0.5628 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1578, allocations: 89.02 kB / 0.5629 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1579, allocations: 11.92 kB / 0.5629 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1579, allocations: 4 kB / 0.5629 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.158, allocations: 11.92 kB / 0.5629 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.158, allocations: 4 kB / 0.5629 GB, free: 2.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1582, allocations: 169.5 kB / 0.5631 GB, free: 1.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1582, allocations: 4 kB / 0.5631 GB, free: 1.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1584, allocations: 19.94 kB / 0.5631 GB, free: 1.82 MB / 414.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 (8): * Single equations (assignments): 8 * 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.001682/0.1601, allocations: 458.9 kB / 0.5635 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.1603, allocations: 67.88 kB / 0.5636 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1603, allocations: 0 / 0.5636 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.1604, allocations: 27.98 kB / 0.5636 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1608, allocations: 22.17 kB / 0.5636 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.1614, allocations: 288.4 kB / 0.5639 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1618, allocations: 0.7041 MB / 0.5646 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1619, allocations: 19.44 kB / 0.5646 GB, free: 376 kB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1619, allocations: 0 / 0.5646 GB, free: 376 kB / 414.1 MB Notification: Performance of Templates: time 0.00427/0.1661, allocations: 1.772 MB / 0.5664 GB, free: 14.59 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.182352433912456]