Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.00107/0.00107, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001068/0.001068, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.922/0.922, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 3.938 kB / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.166e-05, allocations: 2.312 kB / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001814/0.001826, allocations: 1.627 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.002482, allocations: 0.5374 MB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.002526, allocations: 0 / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.002696, allocations: 27.78 kB / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.002895, allocations: 83.61 kB / 325.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.003079, allocations: 119.5 kB / 325.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003185, allocations: 67.78 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.861e-05/0.003254, allocations: 15.97 kB / 325.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.003302, allocations: 27.92 kB / 325.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.003348, allocations: 15.92 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.003359, allocations: 4 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.003414, allocations: 31.97 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.003459, allocations: 15.94 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.003481, allocations: 11.94 kB / 325.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003593, allocations: 83.59 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003596, allocations: 4 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003596, allocations: 0 / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.003599, allocations: 0 / 325.9 MB, free: 6.984 MB / 298.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.0002898/0.003889, allocations: 290.3 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.00392, allocations: 12.03 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.003946, allocations: 8.938 kB / 326.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004063, allocations: 134.2 kB / 326.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.004072, allocations: 4.359 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.00409, allocations: 8.375 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.004168, allocations: 54.7 kB / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.004179, allocations: 7.938 kB / 326.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.004185, allocations: 3.938 kB / 326.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.00419, allocations: 0 / 326.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.00421, allocations: 7.984 kB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.004394, allocations: 167.1 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.004512, allocations: 33.39 kB / 326.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.004524, allocations: 4.859 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.004537, allocations: 11.88 kB / 326.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004555, allocations: 34.64 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004556, allocations: 4 kB / 326.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002282/0.004784, allocations: 85.61 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.00481, allocations: 51.41 kB / 326.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.004894, allocations: 156.3 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.004902, allocations: 25.7 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.004929, allocations: 92.11 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.004946, allocations: 19.8 kB / 327.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.004971, allocations: 21.7 kB / 327.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.005037, allocations: 318.8 kB / 327.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.005049, allocations: 7.984 kB / 327.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.005058, allocations: 8 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.005082, allocations: 19.67 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.005083, allocations: 4 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.651e-05/0.005129, allocations: 53.56 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.005139, allocations: 8 kB / 327.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.005143, allocations: 0 / 327.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.005153, allocations: 256 / 327.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.262e-05/0.005186, allocations: 11.98 kB / 327.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.00519, allocations: 4 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.005205, allocations: 4 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005209, allocations: 0 / 327.6 MB, free: 5.18 MB / 298.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 (5): * Single equations (assignments): 5 * 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.257e-05/0.005262, allocations: 112.7 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.005278, allocations: 11.92 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/0.005357, allocations: 66.08 kB / 327.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005358, allocations: 0 / 327.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.00536, allocations: 3.984 kB / 327.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005363, allocations: 0 / 327.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.005538, allocations: 218.7 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005539, allocations: 3.984 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.005563, allocations: 11.94 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005564, allocations: 4 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.005569, allocations: 4 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005569, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00557, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.161e-05/0.005632, allocations: 143.5 kB / 328.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.005638, allocations: 7.953 kB / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.005646, allocations: 0 / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.933e-05/0.005676, allocations: 4 kB / 328.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.005695, allocations: 8.266 kB / 328.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.005698, allocations: 4 kB / 328.1 MB, free: 4.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.06e-05/0.005729, allocations: 39.52 kB / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005729, allocations: 4 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000125/0.005854, allocations: 19.98 kB / 328.2 MB, free: 4.469 MB / 298.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 (5): * Single equations (assignments): 5 * 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.0009965/0.00685, allocations: 0.5019 MB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.729e-05/0.006908, allocations: 24.86 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.00691, allocations: 0 / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.006925, allocations: 16.84 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.007055, allocations: 15.94 kB / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.007295, allocations: 190.8 kB / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.007327, allocations: 66.72 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.007353, allocations: 11.97 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.007402, allocations: 55.38 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.007403, allocations: 0 / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Templates: time 0.002536/0.009939, allocations: 1.262 MB / 330.3 MB, free: 2.559 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.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: 2.867599133402109]