Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001482/0.001482, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001701/0.001701, allocations: 169.3 kB / 24.27 MB, free: 140 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.4279/0.4279, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.917e-05/5.164e-05, allocations: 2.312 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.005564/0.005615, allocations: 1.671 MB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.007907, allocations: 0.5608 MB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.008006, allocations: 3.938 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.008457, allocations: 47.75 kB / 379.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005606/0.009017, allocations: 95.52 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.009879, allocations: 175.5 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.01016, allocations: 91.8 kB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.01032, allocations: 16.22 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.01048, allocations: 47.83 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.01064, allocations: 31.91 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.01067, allocations: 8 kB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.01089, allocations: 59.83 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.011, allocations: 23.94 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.01107, allocations: 15.92 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.0115, allocations: 111.6 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.0115, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01151, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01151, allocations: 0 / 380.3 MB, free: 15.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008557/0.01237, allocations: 337.6 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.01242, allocations: 12.03 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.01251, allocations: 20.84 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.01286, allocations: 145.6 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.01287, allocations: 384 / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.01292, allocations: 8.375 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.01323, allocations: 66.22 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01324, allocations: 4.125 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.01326, allocations: 4.125 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.01327, allocations: 0 / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.01355, allocations: 43.97 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.01432, allocations: 256.4 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.01477, allocations: 66.52 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.01493, allocations: 28.95 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.01497, allocations: 4 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.01502, allocations: 30.56 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.01502, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.002898/0.01792, allocations: 437.3 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.018, allocations: 59.34 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.01835, allocations: 179.2 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.0184, allocations: 29.7 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.01853, allocations: 104.1 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.0186, allocations: 31.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.0187, allocations: 25.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002883/0.01898, allocations: 334.8 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.01927, allocations: 51.95 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.01955, allocations: 51.95 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.02012, allocations: 121.1 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.02013, allocations: 3.984 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007566/0.02089, allocations: 177.3 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.02091, allocations: 8 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.02092, allocations: 0 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.02096, allocations: 0 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.0212, allocations: 27.97 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.02121, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.02136, allocations: 15.98 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.02138, allocations: 8 kB / 382.9 MB, free: 13.14 MB / 362.7 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 (11): * Single equations (assignments): 11 * 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.0002136/0.02159, allocations: 129.7 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/0.02168, allocations: 19.89 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.02253, allocations: 186.3 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.02254, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.02254, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02255, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.02386, allocations: 447.6 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.02387, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.0241, allocations: 23.98 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.02411, allocations: 4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.02413, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.02414, allocations: 8.125 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.02414, allocations: 4.062 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.025, allocations: 281 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.02505, allocations: 15.89 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.02508, allocations: 3.984 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.02528, allocations: 11.94 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.02536, allocations: 11.98 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.02538, allocations: 7.984 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.02562, allocations: 134.3 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.02562, allocations: 4 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.02614, allocations: 24 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00366/0.0298, allocations: 495.1 kB / 384.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008225/0.03062, allocations: 131.8 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.03063, allocations: 0 / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.03098, allocations: 63.89 kB / 384.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.03169, allocations: 27.88 kB / 384.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.03293, allocations: 313.3 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.03314, allocations: 100.8 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.03333, allocations: 36.45 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.03342, allocations: 16.5 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03342, allocations: 0 / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of Templates: time 0.009026/0.04245, allocations: 1.654 MB / 387 MB, free: 9.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.990845088963397]