Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.001548/0.001548, allocations: 112.9 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.002467/0.002467, 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.541/1.541, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2481/0.2481, allocations: 46.89 MB / 358.1 MB, free: 10.59 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.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83") [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.002241/0.002241, allocations: 83.84 kB / 0.4924 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1366, allocations: 65.99 MB / 0.5569 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003762/0.1404, allocations: 1.984 MB / 0.5588 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1426, allocations: 1.201 MB / 0.56 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1427, allocations: 4 kB / 0.56 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.1434, allocations: 195.4 kB / 0.5602 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.1439, allocations: 207.2 kB / 0.5604 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.1444, allocations: 167.2 kB / 0.5605 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1448, allocations: 263.3 kB / 0.5608 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1449, allocations: 24.23 kB / 0.5608 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1451, allocations: 107.5 kB / 0.5609 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1453, allocations: 127.5 kB / 0.561 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1453, allocations: 8 kB / 0.561 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1454, allocations: 55.97 kB / 0.5611 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1455, allocations: 67.69 kB / 0.5611 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1457, allocations: 83.42 kB / 0.5612 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.146, allocations: 243 kB / 0.5615 GB, free: 1.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.146, allocations: 4 kB / 0.5615 GB, free: 1.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.146, allocations: 0 / 0.5615 GB, free: 1.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.146, allocations: 0 / 0.5615 GB, free: 1.184 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009382/0.147, allocations: 0.5697 MB / 0.562 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.147, allocations: 8.031 kB / 0.562 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.1471, allocations: 28.78 kB / 0.562 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1475, allocations: 283.8 kB / 0.5623 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1475, allocations: 12.36 kB / 0.5623 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1475, allocations: 4.375 kB / 0.5623 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1477, allocations: 116.4 kB / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1478, allocations: 0 / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1478, allocations: 0 / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1478, allocations: 0 / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1479, allocations: 39.97 kB / 0.5625 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.1485, allocations: 389.5 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1488, allocations: 113.2 kB / 0.563 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1489, allocations: 45.69 kB / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1489, allocations: 0 / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1492, allocations: 113 kB / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1492, allocations: 0 / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005382/0.1497, allocations: 189.4 kB / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.1498, allocations: 106.8 kB / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.1502, allocations: 355.3 kB / 0.5637 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1502, allocations: 25.7 kB / 0.5638 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1503, allocations: 140.1 kB / 0.5639 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1504, allocations: 35.73 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.1504, allocations: 33.64 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1506, allocations: 346.8 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1507, allocations: 27.98 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1508, allocations: 78.67 kB / 0.5644 GB, free: 13.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.151, allocations: 99.39 kB / 0.5645 GB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.151, allocations: 3.938 kB / 0.5645 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000298/0.1513, allocations: 145.5 kB / 0.5646 GB, free: 13.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1514, allocations: 4 kB / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1514, allocations: 4 kB / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1514, allocations: 0 / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1515, allocations: 27.92 kB / 0.5647 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1515, allocations: 0.625 kB / 0.5647 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.1516, allocations: 16.02 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1516, allocations: 4 kB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001821/0.1518, allocations: 166.7 kB / 0.5648 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.1519, allocations: 31.8 kB / 0.5649 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.1519, allocations: 25.83 kB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1519, allocations: 4 kB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1519, allocations: 0 / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1519, allocations: 0 / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1522, allocations: 261.5 kB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1522, allocations: 7.938 kB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1522, allocations: 11.94 kB / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1522, allocations: 0 / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1523, allocations: 4 kB / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1523, allocations: 0 / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1523, allocations: 3.984 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.1526, allocations: 177.7 kB / 0.5653 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.1527, allocations: 105 kB / 0.5654 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1527, allocations: 7.984 kB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.1528, allocations: 4 kB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1528, allocations: 15.92 kB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1528, allocations: 4 kB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002876/0.1531, allocations: 261.9 kB / 0.5657 GB, free: 12.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1531, allocations: 0 / 0.5657 GB, free: 12.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1534, allocations: 35.94 kB / 0.5658 GB, free: 12.37 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001597/0.155, allocations: 423.8 kB / 0.5662 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.1553, allocations: 83.89 kB / 0.5662 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1553, allocations: 0 / 0.5662 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.1554, allocations: 47.91 kB / 0.5663 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1559, allocations: 67.08 kB / 0.5664 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.1567, allocations: 446 kB / 0.5668 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1571, allocations: 0.744 MB / 0.5675 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.1571, allocations: 27.44 kB / 0.5675 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1571, allocations: 0 / 0.5675 GB, free: 10.64 MB / 430.1 MB Notification: Performance of Templates: time 0.006362/0.1635, allocations: 3.357 MB / 0.5708 GB, free: 7.293 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.331245068926364]