Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.00141/0.00141, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001165/0.001165, allocations: 168.3 kB / 25.61 MB, free: 8.594 MB / 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.9407/0.9407, allocations: 177.1 MB / 206 MB, free: 4.535 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.1487/0.1487, allocations: 34.24 MB / 296.8 MB, free: 13.96 MB / 282.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.838e-05, allocations: 5.688 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002997/0.003025, allocations: 1.644 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.003736, allocations: 0.5491 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.003801, allocations: 0 / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.004188, allocations: 451 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.004518, allocations: 291.2 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.004838, allocations: 175.5 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.005038, allocations: 167.6 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.005133, allocations: 15.84 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.005227, allocations: 115.8 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.005385, allocations: 247.6 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.0054, allocations: 4 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.005465, allocations: 19.94 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.005537, allocations: 83.7 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.005568, allocations: 35.75 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.005741, allocations: 191.2 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.005746, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005747, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005752, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004039/0.006156, allocations: 0.697 MB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.006187, allocations: 8.031 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.006229, allocations: 44.66 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.006367, allocations: 252.8 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.006376, allocations: 384 / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.006383, allocations: 4.375 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.006468, allocations: 50.95 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.006474, allocations: 4.188 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.00648, allocations: 4.125 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006485, allocations: 4 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.584e-05/0.006501, allocations: 4 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.006749, allocations: 332.3 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.00679, allocations: 27.06 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.006803, allocations: 11.75 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.006818, allocations: 0 / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.006833, allocations: 45.33 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006834, allocations: 0 / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001334/0.006968, allocations: 89.28 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.006985, allocations: 55.53 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.007234, allocations: 0.6001 MB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.007238, allocations: 25.7 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.007336, allocations: 302.7 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.007352, allocations: 15.88 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.007374, allocations: 19.38 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.007448, allocations: 0.5508 MB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.007461, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.061e-05/0.007471, allocations: 7.984 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.007499, allocations: 11.69 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007502, allocations: 8.062 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.95e-05/0.007591, allocations: 81.3 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007604, allocations: 4 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.00761, allocations: 4 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.007621, allocations: 0 / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.007682, allocations: 7.984 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.007685, allocations: 0 / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.007713, allocations: 4 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007719, allocations: 0 / 386.5 MB, free: 16 MB / 314.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 (2): * Single equations (assignments): 2 * 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 5.625e-05/0.007776, allocations: 164.6 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.007808, allocations: 43.66 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.007937, allocations: 84.66 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.00794, allocations: 4 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007941, allocations: 0 / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.007945, allocations: 0 / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.008081, allocations: 193.1 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008082, allocations: 0 / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.008113, allocations: 4 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008116, allocations: 0 / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.00812, allocations: 0 / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008123, allocations: 7.969 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008124, allocations: 4 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.008213, allocations: 219.7 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.008235, allocations: 35.72 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.00825, allocations: 4 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.008289, allocations: 11.81 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.008301, allocations: 7.984 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.008304, allocations: 0 / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.008455, allocations: 390.7 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008455, allocations: 0 / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.008622, allocations: 24.02 kB / 387.7 MB, free: 14.77 MB / 314.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 (2): * Single equations (assignments): 2 * 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.0006527/0.009274, allocations: 325.7 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.009341, allocations: 19.67 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009343, allocations: 0 / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.627e-06/0.009351, allocations: 15.69 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.009591, allocations: 24.92 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.01008, allocations: 0.5669 MB / 388.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.01013, allocations: 123.1 kB / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.01016, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.0102, allocations: 78.19 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0102, allocations: 0 / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003419/0.01362, allocations: 1.255 MB / 390.1 MB, free: 12.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.068754639942199]