Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001886/0.001886, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002149/0.002149, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.567/1.567, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2562/0.2562, allocations: 46.94 MB / 361.6 MB, free: 4.281 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 75.89 kB / 0.4974 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4934, allocations: 66.01 MB / 0.5619 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003624/0.497, allocations: 1.713 MB / 0.5636 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4982, allocations: 0.5582 MB / 0.5641 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.4983, allocations: 0 / 0.5641 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.4986, allocations: 79.7 kB / 0.5642 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.4989, allocations: 107.6 kB / 0.5643 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.4993, allocations: 139.5 kB / 0.5644 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.4995, allocations: 91.73 kB / 0.5645 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4997, allocations: 16.22 kB / 0.5645 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.4998, allocations: 39.83 kB / 0.5646 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.4999, allocations: 55.83 kB / 0.5646 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.4999, allocations: 4 kB / 0.5646 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.5, allocations: 55.91 kB / 0.5647 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.5001, allocations: 35.91 kB / 0.5647 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.5002, allocations: 31.69 kB / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.5004, allocations: 117.9 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5004, allocations: 4 kB / 0.5649 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5004, allocations: 0 / 0.5649 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.5004, allocations: 0 / 0.5649 GB, free: 1.414 MB / 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.0006067/0.501, allocations: 349.5 kB / 0.5652 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5011, allocations: 15.95 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.5011, allocations: 16.88 kB / 0.5652 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.5013, allocations: 147 kB / 0.5654 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5014, allocations: 384 / 0.5654 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.5014, allocations: 8.375 kB / 0.5654 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.5016, allocations: 65.78 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5016, allocations: 4 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5016, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5016, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.5018, allocations: 43.91 kB / 0.5655 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.5022, allocations: 279.8 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.5025, allocations: 58.58 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.5026, allocations: 24.97 kB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.5026, allocations: 0 / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5027, allocations: 34.56 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.5027, allocations: 0 / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001501/0.5042, allocations: 397 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.5042, allocations: 59.28 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.5045, allocations: 214.2 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5045, allocations: 25.7 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.5046, allocations: 112 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.5046, allocations: 39.69 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.5047, allocations: 25.7 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5049, allocations: 322.8 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.505, allocations: 44.53 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5051, allocations: 43.97 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.5054, allocations: 96.81 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5054, allocations: 0 / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000333/0.5057, allocations: 149.5 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5057, allocations: 12 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5057, allocations: 0 / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5057, allocations: 0 / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.5058, allocations: 31.86 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5059, allocations: 3.984 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.5059, allocations: 12 kB / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.5059, allocations: 4 kB / 0.5674 GB, free: 14.64 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 (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.0001234/0.5061, allocations: 129.8 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.5061, allocations: 15.91 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.5065, allocations: 166.9 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5065, allocations: 3.938 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5065, allocations: 4 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5065, allocations: 3.984 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.5073, allocations: 447.1 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5073, allocations: 0 / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.5074, allocations: 23.98 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5074, allocations: 4 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5074, allocations: 7.984 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5074, allocations: 0 / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5074, allocations: 8.062 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.5078, allocations: 253.5 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.5078, allocations: 11.91 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.5078, allocations: 15.94 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.5079, allocations: 7.984 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.508, allocations: 11.98 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.508, allocations: 4.094 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.5082, allocations: 168.2 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5082, allocations: 0 / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.5084, allocations: 23.94 kB / 0.5686 GB, free: 13.26 MB / 414.1 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.001767/0.5102, allocations: 466.6 kB / 0.5691 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.5105, allocations: 107.9 kB / 0.5692 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5105, allocations: 0 / 0.5692 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5107, allocations: 59.91 kB / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.5111, allocations: 24.08 kB / 0.5693 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.5118, allocations: 334.5 kB / 0.5696 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.5123, allocations: 0.7158 MB / 0.5703 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.5123, allocations: 15.44 kB / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5123, allocations: 0 / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Templates: time 0.004504/0.5168, allocations: 1.981 MB / 0.5722 GB, free: 9.691 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.270763271022588]