Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002674/0.002674, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 46.96 MB / 360.9 MB, free: 4.023 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.89 kB / 0.4966 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3526, allocations: 66.03 MB / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003231/0.3559, allocations: 1.671 MB / 0.5627 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.357, allocations: 0.566 MB / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.3571, allocations: 0 / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.3577, allocations: 459.1 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.3582, allocations: 291.3 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3586, allocations: 179.1 kB / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3589, allocations: 175.6 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.359, allocations: 16.22 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3592, allocations: 115.7 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.3595, allocations: 255.5 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3595, allocations: 0 / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3596, allocations: 51.98 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3597, allocations: 87.67 kB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.3598, allocations: 67.25 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.3602, allocations: 288.9 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3602, allocations: 3.938 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3602, allocations: 0 / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3602, allocations: 0 / 0.5652 GB, free: 15.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007928/0.361, allocations: 0.5892 MB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.361, allocations: 12.03 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.3611, allocations: 48.59 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.3614, allocations: 242.8 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3614, allocations: 8.375 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3615, allocations: 8.359 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3616, allocations: 65.73 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3617, allocations: 0 / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3617, allocations: 0 / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3617, allocations: 0 / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3618, allocations: 35.98 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.3623, allocations: 344.3 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3624, allocations: 50.55 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.3625, allocations: 20.8 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3625, allocations: 0 / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3625, allocations: 30.66 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3625, allocations: 0 / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001045/0.3636, allocations: 336.5 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3636, allocations: 55.41 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/0.3646, allocations: 0.8613 MB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3646, allocations: 25.7 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3649, allocations: 224 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.3649, allocations: 19.8 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.365, allocations: 33.7 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3651, allocations: 354.8 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.3652, allocations: 31.97 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.3653, allocations: 31.98 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3655, allocations: 72.81 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3655, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002747/0.3658, allocations: 157.2 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3658, allocations: 8 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3658, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3658, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3659, allocations: 19.98 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3659, allocations: 4.25 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.366, allocations: 15.92 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.366, allocations: 432 / 0.5688 GB, free: 12.09 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.000224/0.3662, allocations: 217.8 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.3663, allocations: 43.72 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.3667, allocations: 181.4 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3667, allocations: 3.984 kB / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3667, allocations: 3.938 kB / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3667, allocations: 0 / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.3674, allocations: 462.8 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3674, allocations: 0 / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/0.3675, allocations: 24.02 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3675, allocations: 3.938 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3675, allocations: 4 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3675, allocations: 4 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3675, allocations: 0 / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3678, allocations: 248 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3679, allocations: 35.72 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3679, allocations: 3.938 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.368, allocations: 4 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.368, allocations: 15.98 kB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.368, allocations: 3.938 kB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006676/0.3687, allocations: 0.6472 MB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3687, allocations: 0 / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.369, allocations: 35.92 kB / 0.5706 GB, free: 10.1 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.001921/0.3709, allocations: 487.7 kB / 0.5711 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.3712, allocations: 75.89 kB / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3712, allocations: 0 / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3713, allocations: 43.91 kB / 0.5712 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.3717, allocations: 39.73 kB / 0.5712 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3731, allocations: 0.8425 MB / 0.5721 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3734, allocations: 232.1 kB / 0.5723 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.855e-05/0.3735, allocations: 28.62 kB / 0.5723 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3735, allocations: 11.44 kB / 0.5723 GB, free: 8.52 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3735, allocations: 0 / 0.5723 GB, free: 8.52 MB / 414.1 MB Notification: Performance of Templates: time 0.006303/0.3798, allocations: 1.931 MB / 0.5742 GB, free: 6.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 5.305266564711928]