Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.00249/0.00249, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003049/0.003049, allocations: 169.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3413/0.3413, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.847e-05/6.043e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003845/0.003906, allocations: 1.629 MB / 348.6 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.005518, allocations: 1.064 MB / 349.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.005614, allocations: 4 kB / 349.6 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.006025, allocations: 27.78 kB / 349.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.006341, allocations: 47.7 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.00679, allocations: 155.6 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.007007, allocations: 63.78 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.007157, allocations: 15.92 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.798e-05/0.007245, allocations: 35.91 kB / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.007402, allocations: 23.91 kB / 350 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.007429, allocations: 4 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.007573, allocations: 55.84 kB / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.007641, allocations: 11.98 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.007684, allocations: 19.92 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.00798, allocations: 91.7 kB / 350.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.007993, allocations: 12 kB / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.007996, allocations: 0 / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.008005, allocations: 0 / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007172/0.008722, allocations: 415.8 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.008781, allocations: 8.031 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.008887, allocations: 16.89 kB / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.009094, allocations: 136.5 kB / 350.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.009109, allocations: 384 / 350.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.00914, allocations: 4.375 kB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.009349, allocations: 99.31 kB / 350.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.009368, allocations: 4.188 kB / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.009386, allocations: 4.125 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.009392, allocations: 4 kB / 350.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.009511, allocations: 27.92 kB / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.009998, allocations: 295.7 kB / 351.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.01013, allocations: 43.05 kB / 351.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.01019, allocations: 23.62 kB / 351.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.01023, allocations: 4 kB / 351.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.01027, allocations: 37.39 kB / 351.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.01027, allocations: 0 / 351.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007957/0.01106, allocations: 173.5 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.01111, allocations: 81.11 kB / 351.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.01126, allocations: 197.7 kB / 351.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.01127, allocations: 25.7 kB / 351.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.01135, allocations: 146.8 kB / 351.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.01138, allocations: 23.86 kB / 351.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.01143, allocations: 31.36 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.01161, allocations: 0.4923 MB / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.0117, allocations: 19.98 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.0118, allocations: 73.05 kB / 352.5 MB, free: 3.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.01195, allocations: 59.78 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01195, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002016/0.01215, allocations: 109.5 kB / 352.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.01217, allocations: 8 kB / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01218, allocations: 0 / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.0122, allocations: 0 / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01233, allocations: 15.98 kB / 352.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01234, allocations: 0 / 352.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.01239, allocations: 4 kB / 352.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.0124, allocations: 4 kB / 352.7 MB, free: 3.75 MB / 282.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 (7): * Single equations (assignments): 7 * 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 9.9e-05/0.0125, allocations: 160.5 kB / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01253, allocations: 15.94 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.01282, allocations: 110 kB / 353 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01282, allocations: 0 / 353 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.01283, allocations: 0 / 353 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.01284, allocations: 4 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.01327, allocations: 365.4 kB / 353.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01328, allocations: 4 kB / 353.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.01334, allocations: 23.92 kB / 353.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01334, allocations: 4 kB / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01336, allocations: 288 / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01336, allocations: 0 / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01336, allocations: 0 / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.01363, allocations: 239.8 kB / 353.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01365, allocations: 15.92 kB / 353.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.01367, allocations: 0 / 353.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.01374, allocations: 4 kB / 353.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.01381, allocations: 11.98 kB / 353.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01382, allocations: 4 kB / 353.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.0139, allocations: 151.1 kB / 353.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0139, allocations: 0 / 353.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.01417, allocations: 31.92 kB / 353.9 MB, free: 2.555 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.003418/0.01759, allocations: 474.1 kB / 354.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.01794, allocations: 67.64 kB / 354.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01795, allocations: 0 / 354.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.01804, allocations: 47.59 kB / 354.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.01843, allocations: 21.52 kB / 354.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.01901, allocations: 194.9 kB / 354.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.73e-05/0.01907, allocations: 75.58 kB / 354.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.01916, allocations: 23.97 kB / 354.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.01921, allocations: 16.5 kB / 354.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.01921, allocations: 0 / 354.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of Templates: time 0.005832/0.02505, allocations: 1.627 MB / 356.4 MB, free: 76 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 6.235971656045876]