Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001554/0.001554, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001954/0.001954, allocations: 212.5 kB / 25.13 MB, free: 3.582 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.443/1.443, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2227/0.2227, allocations: 46.94 MB / 362 MB, free: 4.238 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") [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.002323/0.002323, allocations: 79.88 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3462, allocations: 66.08 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003078/0.3492, allocations: 1.613 MB / 0.5639 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.3502, allocations: 0.545 MB / 0.5645 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.3503, allocations: 3.938 kB / 0.5645 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.3509, allocations: 451.2 kB / 0.5649 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.3514, allocations: 295.3 kB / 0.5652 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3517, allocations: 135.1 kB / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.3519, allocations: 155.7 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.352, allocations: 12.17 kB / 0.5655 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3521, allocations: 111.7 kB / 0.5656 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3524, allocations: 243.5 kB / 0.5658 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3524, allocations: 0 / 0.5658 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.3525, allocations: 27.97 kB / 0.5658 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3526, allocations: 83.69 kB / 0.5659 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.3527, allocations: 103 kB / 0.566 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.353, allocations: 265 kB / 0.5663 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.353, allocations: 0 / 0.5663 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.353, allocations: 0 / 0.5663 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.353, allocations: 0 / 0.5663 GB, free: 284 kB / 398.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.0007631/0.3538, allocations: 0.5622 MB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3538, allocations: 8.031 kB / 0.5668 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.3539, allocations: 44.66 kB / 0.5669 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3542, allocations: 242.7 kB / 0.5671 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.3542, allocations: 8.375 kB / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3542, allocations: 4.375 kB / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3544, allocations: 55.16 kB / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3544, allocations: 7.875 kB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3544, allocations: 0 / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3544, allocations: 0 / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.3545, allocations: 27.97 kB / 0.5672 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.355, allocations: 347.9 kB / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.3551, allocations: 34.56 kB / 0.5675 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.3551, allocations: 16.86 kB / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3551, allocations: 0 / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3552, allocations: 30.56 kB / 0.5676 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3552, allocations: 0 / 0.5676 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000281/0.3554, allocations: 101.4 kB / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3555, allocations: 55.41 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009934/0.3565, allocations: 0.8614 MB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3565, allocations: 25.7 kB / 0.5686 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.3567, allocations: 224.1 kB / 0.5688 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.3567, allocations: 11.83 kB / 0.5688 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.3568, allocations: 21.7 kB / 0.5689 GB, free: 13.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.357, allocations: 362.9 kB / 0.5692 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.3571, allocations: 7.984 kB / 0.5692 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.3571, allocations: 15.94 kB / 0.5692 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.3572, allocations: 20.84 kB / 0.5692 GB, free: 13.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3572, allocations: 4 kB / 0.5692 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000165/0.3573, allocations: 89.41 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3574, allocations: 8.094 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3574, allocations: 0 / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3574, allocations: 0 / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.3575, allocations: 11.92 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3575, allocations: 3.984 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.3575, allocations: 4 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.3575, allocations: 0 / 0.5694 GB, free: 12.91 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 (2): * Single equations (assignments): 2 * 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.0002165/0.3577, allocations: 213.7 kB / 0.5696 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.3578, allocations: 43.72 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.358, allocations: 104.8 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.358, allocations: 0 / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.358, allocations: 0 / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.358, allocations: 0 / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.3583, allocations: 260.5 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3583, allocations: 0 / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.3584, allocations: 7.984 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3584, allocations: 0 / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3584, allocations: 0 / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3584, allocations: 7.969 kB / 0.57 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3584, allocations: 4 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3586, allocations: 191.2 kB / 0.5702 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.3587, allocations: 27.77 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.3587, allocations: 3.984 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.3588, allocations: 4 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.3588, allocations: 0 / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3588, allocations: 8.031 kB / 0.5702 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006819/0.3595, allocations: 0.6589 MB / 0.5708 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5708 GB, free: 11.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3597, allocations: 19.95 kB / 0.5709 GB, free: 11.29 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 (2): * Single equations (assignments): 2 * 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.001235/0.361, allocations: 343.1 kB / 0.5712 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3611, allocations: 27.91 kB / 0.5712 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3611, allocations: 0 / 0.5712 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.3611, allocations: 8 kB / 0.5712 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3615, allocations: 33.73 kB / 0.5713 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3627, allocations: 0.7828 MB / 0.572 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.3632, allocations: 0.8206 MB / 0.5728 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.3632, allocations: 7.75 kB / 0.5728 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3633, allocations: 19.42 kB / 0.5728 GB, free: 9.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3633, allocations: 0 / 0.5728 GB, free: 9.316 MB / 414.1 MB Notification: Performance of Templates: time 0.00501/0.3683, allocations: 1.272 MB / 0.5741 GB, free: 8.047 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.940453062998131]