Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001273/0.001273, allocations: 103.6 kB / 21.18 MB, free: 0.668 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.0014/0.0014, allocations: 210.8 kB / 24.48 MB, free: 3.965 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2798/0.2798, allocations: 46.98 MB / 361.6 MB, free: 4.043 MB / 286.1 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.84 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4117, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003319/0.415, allocations: 1.667 MB / 0.5635 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.4161, allocations: 0.5348 MB / 0.564 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.4162, allocations: 4 kB / 0.564 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.4168, allocations: 459.1 kB / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.4173, allocations: 291.3 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.4177, allocations: 139.1 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.418, allocations: 167.6 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4181, allocations: 19.98 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4182, allocations: 111.7 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.4185, allocations: 251.5 kB / 0.5654 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.4185, allocations: 4 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4187, allocations: 55.98 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.4188, allocations: 79.69 kB / 0.5655 GB, free: 452 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.4189, allocations: 75.22 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.4192, allocations: 284.9 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4192, allocations: 0 / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4192, allocations: 0 / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4193, allocations: 0 / 0.5658 GB, free: 96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008779/0.4201, allocations: 0.5855 MB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4202, allocations: 12.03 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.4203, allocations: 40.66 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.4206, allocations: 250.8 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4206, allocations: 8.375 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.4207, allocations: 384 / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.4208, allocations: 61.75 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.4209, allocations: 0 / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4209, allocations: 4 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4209, allocations: 7.984 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.421, allocations: 23.98 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.4215, allocations: 340.2 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.4217, allocations: 46.56 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.4217, allocations: 12.94 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.4218, allocations: 7.938 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4218, allocations: 38.59 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4218, allocations: 0 / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001049/0.4228, allocations: 308.5 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4229, allocations: 51.41 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/0.4238, allocations: 0.8613 MB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4239, allocations: 33.7 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4241, allocations: 216 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4241, allocations: 27.78 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.4242, allocations: 21.72 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4243, allocations: 358.8 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.4244, allocations: 27.98 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.4245, allocations: 27.98 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4247, allocations: 60.83 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4247, allocations: 0 / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002741/0.4249, allocations: 137.3 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4249, allocations: 4 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.425, allocations: 320 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.425, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4251, allocations: 19.98 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4251, allocations: 7.938 kB / 0.5693 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.4251, allocations: 8 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4252, allocations: 7.984 kB / 0.5693 GB, free: 12.34 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.0002098/0.4254, allocations: 213.8 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.4254, allocations: 48.09 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.4258, allocations: 161.3 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4258, allocations: 0 / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4258, allocations: 11.94 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.4258, allocations: 3.984 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.4265, allocations: 438.9 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4265, allocations: 0 / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.4265, allocations: 20 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4265, allocations: 7.922 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4266, allocations: 4 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4266, allocations: 4 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4266, allocations: 11.91 kB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4269, allocations: 236.1 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.4269, allocations: 35.67 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.4269, allocations: 7.938 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.427, allocations: 11.94 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.4271, allocations: 3.984 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4271, allocations: 4 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006733/0.4278, allocations: 0.6511 MB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4278, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.4281, allocations: 32 kB / 0.5712 GB, free: 10.38 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.001932/0.43, allocations: 495.4 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.4302, allocations: 67.95 kB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4302, allocations: 0 / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.4303, allocations: 35.92 kB / 0.5717 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.4308, allocations: 23.89 kB / 0.5718 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4321, allocations: 0.8714 MB / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4323, allocations: 216.2 kB / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.4324, allocations: 23.42 kB / 0.5728 GB, free: 8.816 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4324, allocations: 0 / 0.5728 GB, free: 8.816 MB / 414.1 MB Notification: Performance of Templates: time 0.008779/0.4411, allocations: 4.077 MB / 0.5768 GB, free: 4.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 8.088460991013562]