Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001463/0.001463, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.00217/0.00217, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.53/1.53, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.405/0.405, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.697e-05/3.87e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003747/0.003786, allocations: 1.977 MB / 379.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.006299, allocations: 1.305 MB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.006422, allocations: 4 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.006709, allocations: 67.42 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.007224, allocations: 207.1 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.00855, allocations: 0.5885 MB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.009025, allocations: 342.8 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.009197, allocations: 44.91 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.009526, allocations: 171.5 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.009785, allocations: 175.5 kB / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.009828, allocations: 16 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.009976, allocations: 63.91 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.01016, allocations: 147.5 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.01029, allocations: 87.58 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.01097, allocations: 378.6 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.01098, allocations: 4 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01098, allocations: 0 / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.01098, allocations: 3.938 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001083/0.01207, allocations: 0.7096 MB / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.0121, allocations: 8.031 kB / 383.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.01243, allocations: 88.48 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.01312, allocations: 417.7 kB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.01313, allocations: 8.375 kB / 384.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.01318, allocations: 12.38 kB / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.0135, allocations: 150.1 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.01351, allocations: 7.938 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.01353, allocations: 0 / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.01353, allocations: 4 kB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.01378, allocations: 95.92 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.0148, allocations: 0.6016 MB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.01505, allocations: 109.2 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.01518, allocations: 49.81 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.01521, allocations: 4 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.01524, allocations: 34.5 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.01524, allocations: 0 / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001673/0.01692, allocations: 0.5735 MB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.01699, allocations: 77.11 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.01817, allocations: 0.878 MB / 386.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.0182, allocations: 29.7 kB / 386.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.01845, allocations: 252.3 kB / 386.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.01852, allocations: 55.48 kB / 387 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.01861, allocations: 33.7 kB / 387 MB, free: 9.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.01884, allocations: 370.8 kB / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01904, allocations: 67.95 kB / 387.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.01923, allocations: 85.19 kB / 387.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.01961, allocations: 161.7 kB / 387.7 MB, free: 8.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01961, allocations: 0 / 387.7 MB, free: 8.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005432/0.02015, allocations: 253.1 kB / 387.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.02017, allocations: 4 kB / 387.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.02017, allocations: 0 / 387.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.02019, allocations: 4 kB / 387.9 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.0204, allocations: 39.97 kB / 388 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.02041, allocations: 0 / 388 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.02053, allocations: 12.2 kB / 388 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.02055, allocations: 4 kB / 388 MB, free: 8.027 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002598/0.02081, allocations: 229.6 kB / 388.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.02095, allocations: 63.56 kB / 388.3 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006937/0.02164, allocations: 287.1 kB / 388.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.02165, allocations: 0 / 388.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.02165, allocations: 3.938 kB / 388.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.02166, allocations: 7.984 kB / 388.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.02293, allocations: 0.7119 MB / 389.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.02293, allocations: 4 kB / 389.3 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.0231, allocations: 31.97 kB / 389.3 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0231, allocations: 4 kB / 389.3 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.02313, allocations: 7.984 kB / 389.3 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.02313, allocations: 4 kB / 389.3 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02313, allocations: 7.938 kB / 389.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.02376, allocations: 418.3 kB / 389.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.02389, allocations: 63.61 kB / 389.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.02393, allocations: 4 kB / 389.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.02439, allocations: 11.98 kB / 389.8 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.02446, allocations: 11.98 kB / 389.8 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.02448, allocations: 11.98 kB / 389.8 MB, free: 6.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008501/0.02533, allocations: 0.6394 MB / 390.5 MB, free: 5.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02533, allocations: 0 / 390.5 MB, free: 5.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003784/0.02571, allocations: 55.94 kB / 390.5 MB, free: 5.402 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002012/0.02772, allocations: 443.1 kB / 391 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.02823, allocations: 163.8 kB / 391.1 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02823, allocations: 0 / 391.1 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.02844, allocations: 91.89 kB / 391.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.02908, allocations: 82.12 kB / 391.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.0308, allocations: 0.9627 MB / 392.3 MB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.03115, allocations: 270.8 kB / 392.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.03135, allocations: 78.92 kB / 392.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.03146, allocations: 40.48 kB / 392.6 MB, free: 3.426 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.03146, allocations: 4 kB / 392.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of Templates: time 0.01024/0.04171, allocations: 4.182 MB / 396.8 MB, free: 15.28 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.156518072937615]