Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001381/0.001381, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001729/0.001729, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.234/0.234, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.CombiTable2Ds.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 71.88 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003485/0.3214, allocations: 1.668 MB / 0.5635 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3225, allocations: 0.5349 MB / 0.564 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.3226, allocations: 0 / 0.564 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.3232, allocations: 459.2 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.3238, allocations: 299.2 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.3242, allocations: 135.2 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.3245, allocations: 179.6 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3246, allocations: 16.23 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.3248, allocations: 119.6 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.3251, allocations: 251.5 kB / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3251, allocations: 4 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3252, allocations: 47.98 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3254, allocations: 83.69 kB / 0.5655 GB, free: 444 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.3254, allocations: 75.23 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.3258, allocations: 288.9 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3259, allocations: 0 / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3259, allocations: 0 / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3259, allocations: 0 / 0.5659 GB, free: 84 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.0008537/0.3267, allocations: 0.5933 MB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3268, allocations: 8.031 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.3268, allocations: 48.61 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3271, allocations: 250.7 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3271, allocations: 4.312 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3272, allocations: 4.375 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3273, allocations: 73.8 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3273, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3274, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3274, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3275, allocations: 39.95 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.328, allocations: 344.2 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3282, allocations: 54.55 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.3283, allocations: 24.97 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3283, allocations: 8.031 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3284, allocations: 30.56 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3284, allocations: 0 / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00148/0.3299, allocations: 468.4 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3299, allocations: 59.41 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009226/0.3308, allocations: 0.8652 MB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3309, allocations: 25.7 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.331, allocations: 216 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.3311, allocations: 35.69 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3312, allocations: 29.64 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3314, allocations: 362.8 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3315, allocations: 39.91 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3316, allocations: 51.97 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.3319, allocations: 100.7 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3319, allocations: 4 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000372/0.3323, allocations: 173.3 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3323, allocations: 4 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3323, allocations: 4 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3323, allocations: 7.984 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3324, allocations: 24.55 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3324, allocations: 3.938 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.3325, allocations: 15.92 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3325, allocations: 4 kB / 0.5697 GB, free: 11.97 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.0002183/0.3327, allocations: 213.8 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.3328, allocations: 43.67 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.3332, allocations: 213.8 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3332, allocations: 0 / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3333, allocations: 3.938 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3333, allocations: 0 / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.3341, allocations: 0.5035 MB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3341, allocations: 4.062 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3342, allocations: 31.92 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3342, allocations: 3.938 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3342, allocations: 7.984 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3342, allocations: 4 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3342, allocations: 0 / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.3346, allocations: 272.9 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3347, allocations: 47.64 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3347, allocations: 4 kB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3348, allocations: 11.92 kB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3348, allocations: 11.98 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3349, allocations: 4 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006897/0.3355, allocations: 0.6472 MB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 96 / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3358, allocations: 43.83 kB / 0.5717 GB, free: 9.828 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.001931/0.3378, allocations: 0.4939 MB / 0.5722 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.3381, allocations: 103.8 kB / 0.5723 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3381, allocations: 4 kB / 0.5723 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3382, allocations: 55.89 kB / 0.5723 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3387, allocations: 25.91 kB / 0.5724 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3401, allocations: 0.8997 MB / 0.5732 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3403, allocations: 220.1 kB / 0.5735 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.3404, allocations: 27.42 kB / 0.5735 GB, free: 8.16 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3404, allocations: 3.938 kB / 0.5735 GB, free: 8.156 MB / 414.1 MB Notification: Performance of Templates: time 0.009085/0.3495, allocations: 4.264 MB / 0.5777 GB, free: 3.887 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 7.905325702391565]