Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001901/0.001901, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002029/0.002029, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.606/1.606, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3555/0.3555, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.939e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003485/0.003515, allocations: 1.686 MB / 379 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004727, allocations: 0.5725 MB / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.004773, allocations: 0 / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.004996, allocations: 55.73 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.005285, allocations: 99.53 kB / 379.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.005703, allocations: 175.5 kB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.005875, allocations: 91.73 kB / 380 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.005955, allocations: 12.23 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.006054, allocations: 59.75 kB / 380.1 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.006151, allocations: 47.88 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.006169, allocations: 4 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006272, allocations: 47.92 kB / 380.2 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.006336, allocations: 27.91 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.006373, allocations: 19.92 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.00659, allocations: 107.6 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.006595, allocations: 11.94 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006596, allocations: 0 / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.006607, allocations: 3.938 kB / 380.3 MB, free: 15.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005465/0.007153, allocations: 447.6 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.007186, allocations: 12.03 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.007232, allocations: 12.89 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.007431, allocations: 152.4 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.007439, allocations: 384 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.00746, allocations: 8.375 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.007615, allocations: 58.17 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.007625, allocations: 4.188 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.007638, allocations: 8.125 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.007643, allocations: 4 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.007758, allocations: 27.97 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.00823, allocations: 319.6 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.008452, allocations: 66.97 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.008514, allocations: 15.81 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.008533, allocations: 4 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.008566, allocations: 45.38 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.008566, allocations: 0 / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001067/0.009633, allocations: 301.5 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.009678, allocations: 51.41 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.009927, allocations: 246.6 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.00995, allocations: 25.7 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01006, allocations: 154.8 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.01012, allocations: 47.67 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.01019, allocations: 35.36 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003147/0.0105, allocations: 0.504 MB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.01061, allocations: 27.98 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.0107, allocations: 31.97 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.01092, allocations: 87.86 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01092, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002871/0.01121, allocations: 113.6 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.01123, allocations: 11.98 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01123, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01124, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01135, allocations: 23.98 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.01135, allocations: 0 / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.01142, allocations: 12 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01143, allocations: 0 / 383.1 MB, free: 12.92 MB / 362.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 (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.0001323/0.01156, allocations: 168.5 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.01161, allocations: 19.91 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.01198, allocations: 135 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01198, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01198, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.01199, allocations: 3.984 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.01272, allocations: 468.5 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01272, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01282, allocations: 27.92 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01282, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01284, allocations: 4 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.01284, allocations: 3.938 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01284, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.01325, allocations: 295.2 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.01327, allocations: 11.94 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.01329, allocations: 4.188 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.01338, allocations: 11.94 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.01344, allocations: 11.92 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.01345, allocations: 8 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.01361, allocations: 171.9 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01361, allocations: 0 / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01388, allocations: 31.92 kB / 384.5 MB, free: 11.48 MB / 362.7 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.003617/0.01749, allocations: 494.8 kB / 385 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.01779, allocations: 91.52 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0178, allocations: 0 / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.01793, allocations: 63.59 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01826, allocations: 31.89 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.01889, allocations: 288.4 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.01901, allocations: 100.8 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.971e-05/0.0191, allocations: 32.58 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.01915, allocations: 20.48 kB / 385.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01915, allocations: 0 / 385.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Templates: time 0.005473/0.02462, allocations: 1.659 MB / 387.2 MB, free: 8.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.912451541982591]