Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0009661/0.0009661, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.0009749/0.0009749, allocations: 165 kB / 24.56 MB, free: 24 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 0.9927/0.9927, allocations: 177.1 MB / 205 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] 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.2754/0.2754, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.107e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003257/0.003278, allocations: 2.046 MB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.005403, allocations: 1.328 MB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.005533, allocations: 3.938 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.005826, allocations: 59.44 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.006335, allocations: 211.1 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.007449, allocations: 0.5963 MB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.007872, allocations: 327 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.008039, allocations: 48.89 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.008315, allocations: 167.5 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.008554, allocations: 183.5 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.008592, allocations: 12 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.008738, allocations: 67.84 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.008892, allocations: 147.5 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.008987, allocations: 87.58 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.009385, allocations: 314.7 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.009387, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.009388, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.009394, allocations: 0 / 383.6 MB, free: 13.05 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009265/0.01032, allocations: 0.825 MB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.01036, allocations: 12.03 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.01062, allocations: 84.5 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.01109, allocations: 348.6 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.0111, allocations: 4.375 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.01114, allocations: 12.38 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.01137, allocations: 136.8 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.01139, allocations: 7.938 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.0114, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.01141, allocations: 7.984 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.01152, allocations: 39.91 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.01235, allocations: 0.6739 MB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.0125, allocations: 98.16 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.01255, allocations: 27.5 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.01259, allocations: 7.984 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.01262, allocations: 41.39 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.01262, allocations: 0 / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009601/0.01358, allocations: 423.5 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.01363, allocations: 81.11 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.01433, allocations: 0.6627 MB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01435, allocations: 29.7 kB / 387.1 MB, free: 9.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.01456, allocations: 319.1 kB / 387.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.01462, allocations: 59.48 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.01468, allocations: 39.34 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.01489, allocations: 0.5587 MB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.01495, allocations: 19.98 kB / 388.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.01503, allocations: 39.36 kB / 388.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.01518, allocations: 75.5 kB / 388.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.01518, allocations: 0 / 388.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002736/0.01545, allocations: 165.1 kB / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.01547, allocations: 8 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01547, allocations: 4 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01549, allocations: 0 / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.01566, allocations: 39.91 kB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01566, allocations: 4 kB / 388.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.01574, allocations: 4 kB / 388.4 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01576, allocations: 4 kB / 388.4 MB, free: 7.973 MB / 362.7 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.0001132/0.01587, allocations: 168.8 kB / 388.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.01598, allocations: 63.56 kB / 388.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.01633, allocations: 203 kB / 388.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01634, allocations: 4 kB / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01634, allocations: 0 / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01634, allocations: 0 / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.01719, allocations: 0.7307 MB / 389.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01719, allocations: 0 / 389.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.01731, allocations: 35.91 kB / 389.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01732, allocations: 0 / 389.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01733, allocations: 12 kB / 389.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01733, allocations: 0 / 389.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01733, allocations: 0 / 389.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.01767, allocations: 434.6 kB / 390.1 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.01775, allocations: 59.61 kB / 390.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.0178, allocations: 4 kB / 390.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.01794, allocations: 7.984 kB / 390.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.018, allocations: 19.97 kB / 390.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.01801, allocations: 4 kB / 390.1 MB, free: 6.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004436/0.01845, allocations: 438.7 kB / 390.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01845, allocations: 0 / 390.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.01883, allocations: 63.92 kB / 390.6 MB, free: 5.676 MB / 362.7 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.001038/0.01987, allocations: 383.8 kB / 391 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.02008, allocations: 83.53 kB / 391.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02008, allocations: 3.938 kB / 391.1 MB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.02017, allocations: 51.59 kB / 391.2 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.02073, allocations: 89.22 kB / 391.2 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.02204, allocations: 0.7756 MB / 392 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.02217, allocations: 144.5 kB / 392.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.02233, allocations: 74.89 kB / 392.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.02243, allocations: 40.48 kB / 392.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02243, allocations: 0 / 392.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of Templates: time 0.007714/0.03015, allocations: 4.176 MB / 396.4 MB, free: 15.99 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3440613681450486]