Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0008908/0.0008908, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003692/0.003692, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8835/0.8835, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2748/0.2748, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 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.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.867e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.1489/0.1489, allocations: 1.713 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.1497, allocations: 0.9977 MB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.1498, allocations: 0 / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.15, allocations: 35.19 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1502, allocations: 97.3 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.1503, allocations: 81.66 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1505, allocations: 113.4 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.1505, allocations: 6.844 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.1506, allocations: 67.98 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.1507, allocations: 26.34 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1507, allocations: 5.656 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1508, allocations: 114.5 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.1508, allocations: 19.78 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.1508, allocations: 25.92 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.151, allocations: 183.1 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.151, allocations: 0 / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.151, allocations: 3.188 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.151, allocations: 0 / 447 MB, free: 42.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003439/0.1514, allocations: 356.3 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.1514, allocations: 8.562 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1514, allocations: 15.03 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1516, allocations: 149 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1516, allocations: 10.53 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1517, allocations: 3.281 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1518, allocations: 99.53 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1518, allocations: 192 / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1518, allocations: 384 / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1518, allocations: 3.938 kB / 447.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.1518, allocations: 30.91 kB / 447.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.152, allocations: 216.4 kB / 447.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1521, allocations: 73.47 kB / 447.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.1522, allocations: 23.95 kB / 447.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1522, allocations: 6.906 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.124e-05/0.1523, allocations: 74.89 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.1523, allocations: 0 / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003646/0.1526, allocations: 213.3 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.1527, allocations: 83.89 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.1527, allocations: 172.1 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.1527, allocations: 32.3 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.1528, allocations: 94.09 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1528, allocations: 40.34 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1528, allocations: 29.91 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.46e-05/0.1528, allocations: 322.3 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.1529, allocations: 31.2 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.1529, allocations: 80.22 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.153, allocations: 86.73 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.153, allocations: 0 / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001095/0.1531, allocations: 128.9 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.1531, allocations: 5.812 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.1531, allocations: 0 / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1531, allocations: 0 / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.1532, allocations: 24.69 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1532, allocations: 2.625 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.1532, allocations: 4.062 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1532, allocations: 9.969 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 4.424e-05/0.1533, allocations: 121.7 kB / 449.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.1533, allocations: 17.81 kB / 449.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.1534, allocations: 133.8 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1534, allocations: 3.031 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1534, allocations: 0 / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1534, allocations: 7.312 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1537, allocations: 378.3 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1537, allocations: 2.812 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.1537, allocations: 15.44 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1537, allocations: 0 / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1537, allocations: 6.25 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1537, allocations: 0 / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1537, allocations: 0 / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1538, allocations: 224.5 kB / 450.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.1538, allocations: 10.06 kB / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1538, allocations: 6.844 kB / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.1539, allocations: 2.875 kB / 450.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.1539, allocations: 13.83 kB / 450.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1539, allocations: 12.78 kB / 450.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.1539, allocations: 132.5 kB / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1539, allocations: 0 / 450.4 MB, free: 40.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.1541, allocations: 57.41 kB / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007679/0.1549, allocations: 0.5925 MB / 451.1 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.155, allocations: 79.31 kB / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.155, allocations: 0 / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.1551, allocations: 41.12 kB / 451.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.1553, allocations: 26.73 kB / 451.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.1555, allocations: 248 kB / 451.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.1556, allocations: 90.14 kB / 451.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1556, allocations: 22.97 kB / 451.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1556, allocations: 0 / 451.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of Templates: time 0.002417/0.158, allocations: 2.62 MB / 454.2 MB, free: 39.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 4.896336147561669]