Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001347/0.001347, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001474/0.001474, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.42/1.42, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 4 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.911e-05, allocations: 6.219 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003352/0.003382, allocations: 1.666 MB / 441.8 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004489, allocations: 0.5296 MB / 442.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.004544, allocations: 8 kB / 442.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.004778, allocations: 67.66 kB / 442.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.005123, allocations: 87.55 kB / 442.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.005468, allocations: 130.8 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.005663, allocations: 95.69 kB / 442.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.005774, allocations: 16.22 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.005874, allocations: 47.88 kB / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.00598, allocations: 47.88 kB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.005999, allocations: 4 kB / 442.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.006146, allocations: 47.92 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.006236, allocations: 23.92 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.006273, allocations: 15.92 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.006511, allocations: 115.5 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006514, allocations: 0 / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006514, allocations: 4 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006519, allocations: 4 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005314/0.00705, allocations: 337.6 kB / 443.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.007095, allocations: 12.03 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.007137, allocations: 12.88 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.007323, allocations: 144.4 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.007335, allocations: 4.312 kB / 443.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.007363, allocations: 8.375 kB / 443.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.007549, allocations: 62.22 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.00756, allocations: 192 / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.007573, allocations: 12.12 kB / 443.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.007577, allocations: 0 / 443.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.007721, allocations: 39.97 kB / 443.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.008084, allocations: 236.4 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.008329, allocations: 62.48 kB / 443.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.00841, allocations: 24.97 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.008427, allocations: 0 / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.00846, allocations: 42.59 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.00846, allocations: 0 / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.00998, allocations: 393 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.01003, allocations: 51.41 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.01022, allocations: 192.9 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.01025, allocations: 25.7 kB / 444.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.01032, allocations: 112.1 kB / 444.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.01036, allocations: 31.7 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.01041, allocations: 29.7 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.01057, allocations: 326.8 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.01071, allocations: 43.97 kB / 445.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.01083, allocations: 39.97 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.0111, allocations: 109 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.01111, allocations: 7.984 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003319/0.01144, allocations: 137.5 kB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01146, allocations: 4 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01146, allocations: 0 / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01147, allocations: 0 / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01159, allocations: 27.98 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.0116, allocations: 7.984 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.01167, allocations: 8 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01168, allocations: 4 kB / 445.5 MB, free: 2.555 MB / 366.1 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 (11): * Single equations (assignments): 11 * 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.0001177/0.0118, allocations: 133.7 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.01184, allocations: 12.52 kB / 445.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.01224, allocations: 162.3 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01225, allocations: 4 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.01225, allocations: 4 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01226, allocations: 0 / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.01293, allocations: 407.6 kB / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.01293, allocations: 7.984 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01304, allocations: 23.98 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01304, allocations: 4.062 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.01306, allocations: 11.98 kB / 446.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.01307, allocations: 7.875 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01307, allocations: 0 / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.01347, allocations: 245.1 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01349, allocations: 11.94 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01351, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01361, allocations: 23.92 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.01366, allocations: 7.984 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01367, allocations: 7.938 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.01381, allocations: 143.4 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01381, allocations: 0 / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.01409, allocations: 27.92 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001819/0.01591, allocations: 0.4891 MB / 447.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.01624, allocations: 103.8 kB / 447.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01624, allocations: 0 / 447.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.01639, allocations: 60.02 kB / 447.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.01672, allocations: 26.5 kB / 447.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01731, allocations: 283.3 kB / 447.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.01742, allocations: 100.7 kB / 447.8 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.01748, allocations: 12.5 kB / 447.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.01752, allocations: 24.48 kB / 447.8 MB, free: 336 kB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01752, allocations: 0 / 447.8 MB, free: 336 kB / 366.1 MB Notification: Performance of Templates: time 0.1717/0.1892, allocations: 1.55 MB / 449.4 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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: 4.584156762808561]