Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.0009786/0.0009786, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009932/0.0009932, allocations: 161 kB / 24.56 MB, free: 12 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.9971/0.9971, allocations: 177.1 MB / 205 MB, free: 5.625 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.2571/0.2571, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/4.01e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004225/0.004265, allocations: 2.105 MB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.007103, allocations: 1.379 MB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.007331, allocations: 7.938 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.007687, allocations: 55.45 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.008312, allocations: 230.9 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/0.009282, allocations: 0.6041 MB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.009714, allocations: 366.8 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.00989, allocations: 48.91 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.01021, allocations: 187.4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.0105, allocations: 187.5 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.01055, allocations: 16 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.01075, allocations: 67.91 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.0109, allocations: 155.4 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.01099, allocations: 95.58 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.01136, allocations: 338.5 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01136, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01136, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.01137, allocations: 0 / 383.9 MB, free: 12.8 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.0008397/0.01221, allocations: 0.8484 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.01225, allocations: 8.031 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.0126, allocations: 104.4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.01303, allocations: 381.3 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.01305, allocations: 4.375 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.01307, allocations: 8.375 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.0133, allocations: 149.1 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01332, allocations: 3.938 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.01333, allocations: 8 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.01334, allocations: 0 / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.01342, allocations: 35.97 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.01411, allocations: 0.6973 MB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.01426, allocations: 94.17 kB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.01431, allocations: 39.48 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.01433, allocations: 4 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.01435, allocations: 37.38 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.01435, allocations: 4 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008952/0.01525, allocations: 0.5031 MB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.01529, allocations: 81.11 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.01583, allocations: 0.6871 MB / 387.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.01586, allocations: 29.7 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.01603, allocations: 331.1 kB / 387.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.01609, allocations: 71.44 kB / 388 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.01615, allocations: 43.34 kB / 388 MB, free: 8.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.01632, allocations: 0.5587 MB / 388.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.01638, allocations: 31.97 kB / 388.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.01646, allocations: 54.27 kB / 388.6 MB, free: 7.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.0166, allocations: 95.42 kB / 388.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.0166, allocations: 4 kB / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002602/0.01686, allocations: 205 kB / 388.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01688, allocations: 4 kB / 388.9 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01688, allocations: 3.984 kB / 388.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.0169, allocations: 4 kB / 389 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.01705, allocations: 43.97 kB / 389 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01705, allocations: 4 kB / 389 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.01713, allocations: 11.98 kB / 389 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01714, allocations: 7.984 kB / 389 MB, free: 7.375 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 (20): * Single equations (assignments): 20 * 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.0001031/0.01725, allocations: 168.7 kB / 389.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.01732, allocations: 75.52 kB / 389.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.01764, allocations: 231.1 kB / 389.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01764, allocations: 4 kB / 389.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01765, allocations: 4 kB / 389.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01765, allocations: 0 / 389.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.01837, allocations: 0.7931 MB / 390.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01837, allocations: 0 / 390.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.01848, allocations: 43.91 kB / 390.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01848, allocations: 4 kB / 390.3 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.0185, allocations: 11.98 kB / 390.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.0185, allocations: 4 kB / 390.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0185, allocations: 0 / 390.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.01882, allocations: 462.6 kB / 390.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.01888, allocations: 59.61 kB / 390.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.01891, allocations: 8 kB / 390.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.01901, allocations: 11.98 kB / 390.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.01907, allocations: 19.91 kB / 390.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.01909, allocations: 11.98 kB / 390.9 MB, free: 5.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003353/0.01942, allocations: 463 kB / 391.4 MB, free: 4.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01942, allocations: 4 kB / 391.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.01969, allocations: 59.95 kB / 391.4 MB, free: 4.895 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 (20): * Single equations (assignments): 20 * 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.0009257/0.02062, allocations: 393.8 kB / 391.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.02084, allocations: 115.4 kB / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02084, allocations: 0 / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.02093, allocations: 63.58 kB / 392 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.02131, allocations: 88.98 kB / 392.1 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.02238, allocations: 0.8265 MB / 392.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.02248, allocations: 152.5 kB / 393 MB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.02262, allocations: 79.19 kB / 393.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.02273, allocations: 44.47 kB / 393.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02273, allocations: 0 / 393.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of Templates: time 0.007844/0.03057, allocations: 4.96 MB / 398.1 MB, free: 14.32 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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.2352462806738913]