Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005243/0.005243, allocations: 109.2 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 258.9 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2275/0.2275, allocations: 46.92 MB / 362.3 MB, free: 4.195 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 79.88 kB / 0.4982 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3321, allocations: 66.06 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003926/0.336, allocations: 2.06 MB / 0.5647 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3384, allocations: 1.275 MB / 0.566 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3385, allocations: 4 kB / 0.566 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3388, allocations: 43.53 kB / 0.566 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.3393, allocations: 215.1 kB / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3404, allocations: 429.5 kB / 0.5667 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.3408, allocations: 307 kB / 0.5669 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.341, allocations: 48.7 kB / 0.567 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.3412, allocations: 139.4 kB / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3415, allocations: 199.3 kB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.3416, allocations: 16 kB / 0.5673 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3417, allocations: 63.98 kB / 0.5674 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.3419, allocations: 147.4 kB / 0.5675 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.342, allocations: 158.7 kB / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.3426, allocations: 388.6 kB / 0.5681 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3426, allocations: 0 / 0.5681 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3426, allocations: 0 / 0.5681 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3426, allocations: 0 / 0.5681 GB, free: 14.78 MB / 414.1 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.001126/0.3437, allocations: 0.7252 MB / 0.5688 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3438, allocations: 8.031 kB / 0.5688 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.344, allocations: 72.55 kB / 0.5688 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.3447, allocations: 398.4 kB / 0.5692 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3448, allocations: 8.375 kB / 0.5692 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3448, allocations: 8.375 kB / 0.5692 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.3451, allocations: 143.5 kB / 0.5694 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3451, allocations: 0 / 0.5694 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.3451, allocations: 4 kB / 0.5694 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3451, allocations: 7.984 kB / 0.5694 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.3453, allocations: 75.89 kB / 0.5695 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.3463, allocations: 0.6362 MB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.3465, allocations: 101.2 kB / 0.5702 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.3466, allocations: 45.81 kB / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3467, allocations: 0 / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3467, allocations: 38.56 kB / 0.5703 GB, free: 12.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3467, allocations: 0 / 0.5703 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001407/0.3481, allocations: 0.5273 MB / 0.5708 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3482, allocations: 85.11 kB / 0.5708 GB, free: 11.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3492, allocations: 0.8906 MB / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3492, allocations: 33.7 kB / 0.5717 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3494, allocations: 252.3 kB / 0.572 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.3495, allocations: 51.58 kB / 0.572 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.3496, allocations: 33.7 kB / 0.5721 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3497, allocations: 370.8 kB / 0.5724 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3499, allocations: 55.97 kB / 0.5725 GB, free: 10.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3501, allocations: 84.98 kB / 0.5726 GB, free: 9.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.3504, allocations: 137.7 kB / 0.5727 GB, free: 9.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3504, allocations: 3.938 kB / 0.5727 GB, free: 9.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004528/0.3508, allocations: 233.1 kB / 0.5729 GB, free: 9.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3509, allocations: 8 kB / 0.5729 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3509, allocations: 0 / 0.5729 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3509, allocations: 0 / 0.5729 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3511, allocations: 35.97 kB / 0.573 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3511, allocations: 320 / 0.573 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3512, allocations: 15.98 kB / 0.573 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3512, allocations: 8 kB / 0.573 GB, free: 9.5 MB / 414.1 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.0002285/0.3515, allocations: 213.7 kB / 0.5732 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3516, allocations: 59.58 kB / 0.5732 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/0.3521, allocations: 258.3 kB / 0.5735 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3521, allocations: 8 kB / 0.5735 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3522, allocations: 0 / 0.5735 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3522, allocations: 3.938 kB / 0.5735 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3534, allocations: 0.7386 MB / 0.5742 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3534, allocations: 0 / 0.5742 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3535, allocations: 43.91 kB / 0.5743 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3535, allocations: 8 kB / 0.5743 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3536, allocations: 3.984 kB / 0.5743 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3536, allocations: 4 kB / 0.5743 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3536, allocations: 4 kB / 0.5743 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.3541, allocations: 406.6 kB / 0.5747 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3542, allocations: 59.66 kB / 0.5747 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.3543, allocations: 0 / 0.5747 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3545, allocations: 15.98 kB / 0.5747 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.3545, allocations: 11.92 kB / 0.5748 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3546, allocations: 15.92 kB / 0.5748 GB, free: 7.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007721/0.3553, allocations: 0.6552 MB / 0.5754 GB, free: 6.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 0.5754 GB, free: 6.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3557, allocations: 55.95 kB / 0.5755 GB, free: 6.875 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 (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.001564/0.3573, allocations: 404.1 kB / 0.5758 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3577, allocations: 143.8 kB / 0.576 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3577, allocations: 0 / 0.576 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3579, allocations: 79.89 kB / 0.5761 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.3585, allocations: 81.05 kB / 0.5761 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3599, allocations: 0.9165 MB / 0.577 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.3604, allocations: 0.8575 MB / 0.5779 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3605, allocations: 43.36 kB / 0.5779 GB, free: 4.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3605, allocations: 0 / 0.5779 GB, free: 4.43 MB / 414.1 MB Notification: Performance of Templates: time 0.009285/0.3698, allocations: 5.632 MB / 0.5834 GB, free: 14.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 8.041097534121946]