Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.005057/0.005057, allocations: 106 kB / 21.98 MB, free: 5.227 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.001529/0.001529, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.502/1.502, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2395/0.2395, allocations: 46.93 MB / 362.3 MB, free: 4.191 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") [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.002408/0.002408, allocations: 75.88 kB / 0.4983 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3414, allocations: 66.08 MB / 0.5628 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003429/0.3449, allocations: 1.856 MB / 0.5646 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.3469, allocations: 1.111 MB / 0.5657 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.347, allocations: 3.938 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.3475, allocations: 315.3 kB / 0.566 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.3481, allocations: 255.1 kB / 0.5662 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3483, allocations: 103.7 kB / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.3487, allocations: 271.2 kB / 0.5666 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.013e-05/0.3488, allocations: 5.812 kB / 0.5666 GB, free: 292 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.349, allocations: 143.5 kB / 0.5667 GB, free: 148 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.3493, allocations: 227.4 kB / 0.5669 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3493, allocations: 4 kB / 0.5669 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3494, allocations: 47.98 kB / 0.567 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3496, allocations: 139.6 kB / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3497, allocations: 150.8 kB / 0.5673 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.3502, allocations: 380.5 kB / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3502, allocations: 0 / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3502, allocations: 4 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.3502, allocations: 0 / 0.5676 GB, free: 15.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001026/0.3513, allocations: 0.6825 MB / 0.5683 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3513, allocations: 11.97 kB / 0.5683 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.3514, allocations: 52.61 kB / 0.5684 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.3521, allocations: 406.4 kB / 0.5688 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3521, allocations: 384 / 0.5688 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3521, allocations: 4.375 kB / 0.5688 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3523, allocations: 99.66 kB / 0.5689 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3524, allocations: 0 / 0.5689 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3524, allocations: 3.984 kB / 0.5689 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3524, allocations: 0 / 0.5689 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3525, allocations: 35.91 kB / 0.5689 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.3529, allocations: 357.4 kB / 0.5692 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3532, allocations: 97.23 kB / 0.5693 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.3533, allocations: 37.7 kB / 0.5694 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3533, allocations: 3.938 kB / 0.5694 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.3536, allocations: 117 kB / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3536, allocations: 0 / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005314/0.3541, allocations: 197.2 kB / 0.5697 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3542, allocations: 77.11 kB / 0.5697 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3554, allocations: 1.054 MB / 0.5708 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3554, allocations: 25.7 kB / 0.5708 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.3556, allocations: 244.1 kB / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.3557, allocations: 31.69 kB / 0.5711 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.3558, allocations: 29.7 kB / 0.5711 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.356, allocations: 370.8 kB / 0.5714 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3561, allocations: 35.92 kB / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3562, allocations: 55.41 kB / 0.5715 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3564, allocations: 87.36 kB / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3564, allocations: 0 / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003255/0.3568, allocations: 177.7 kB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3568, allocations: 6.5 kB / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3568, allocations: 4 kB / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3568, allocations: 4.062 kB / 0.5718 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3569, allocations: 31.92 kB / 0.5718 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3569, allocations: 8 kB / 0.5718 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.357, allocations: 7.938 kB / 0.5718 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3571, allocations: 4 kB / 0.5718 GB, free: 10.66 MB / 414.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002345/0.3573, allocations: 222.7 kB / 0.5721 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.3574, allocations: 59.56 kB / 0.5721 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.3578, allocations: 201.8 kB / 0.5723 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3578, allocations: 0 / 0.5723 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3578, allocations: 4 kB / 0.5723 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3578, allocations: 3.984 kB / 0.5723 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.3581, allocations: 316.5 kB / 0.5726 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3581, allocations: 0 / 0.5726 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3582, allocations: 11.94 kB / 0.5726 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3582, allocations: 3.938 kB / 0.5726 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.3582, allocations: 8 kB / 0.5726 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3582, allocations: 3.984 kB / 0.5726 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3582, allocations: 0 / 0.5726 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.3586, allocations: 217.5 kB / 0.5728 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3587, allocations: 67.53 kB / 0.5729 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.3587, allocations: 4 kB / 0.5729 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.3588, allocations: 11.98 kB / 0.5729 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3589, allocations: 7.984 kB / 0.5729 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3589, allocations: 8 kB / 0.5729 GB, free: 9.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008696/0.3598, allocations: 0.7839 MB / 0.5737 GB, free: 8.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3598, allocations: 0 / 0.5737 GB, free: 8.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.36, allocations: 44 kB / 0.5737 GB, free: 8.629 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001563/0.3616, allocations: 411.1 kB / 0.5741 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.3619, allocations: 71.91 kB / 0.5742 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3619, allocations: 128 / 0.5742 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.362, allocations: 43.92 kB / 0.5742 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3625, allocations: 89.56 kB / 0.5743 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.364, allocations: 0.934 MB / 0.5752 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3644, allocations: 0.8468 MB / 0.5761 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.3645, allocations: 35.42 kB / 0.5761 GB, free: 6.285 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3645, allocations: 0 / 0.5761 GB, free: 6.285 MB / 414.1 MB Notification: Performance of Templates: time 0.009653/0.3742, allocations: 5.241 MB / 0.5812 GB, free: 1.043 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.025305395945907]