Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001204/0.001204, allocations: 80.8 kB / 21.49 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.001382/0.001382, allocations: 169.9 kB / 24.91 MB, free: 8.734 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.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2458/0.2458, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.655e-05, allocations: 3.297 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003123/0.00315, allocations: 1.632 MB / 324.9 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004231, allocations: 0.5335 MB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.004308, allocations: 3.938 kB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.004557, allocations: 27.83 kB / 325.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.004911, allocations: 75.56 kB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.005282, allocations: 123.6 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.005442, allocations: 67.7 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.005534, allocations: 8 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.005609, allocations: 27.92 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.00568, allocations: 23.91 kB / 325.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.005696, allocations: 4 kB / 325.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-05/0.005783, allocations: 27.98 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.005829, allocations: 15.92 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.005857, allocations: 11.98 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.006024, allocations: 67.69 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.006028, allocations: 0 / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.00603, allocations: 4 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.006034, allocations: 3.938 kB / 325.9 MB, free: 7.035 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.0003749/0.006409, allocations: 281.7 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.006445, allocations: 12.03 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.006478, allocations: 4.938 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.00665, allocations: 137.7 kB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.006662, allocations: 384 / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.006695, allocations: 4.375 kB / 326.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.006819, allocations: 54.95 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.00683, allocations: 192 / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.006839, allocations: 8.125 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.006846, allocations: 4 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.006871, allocations: 11.92 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.007151, allocations: 163.8 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.00731, allocations: 29.39 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.00733, allocations: 8.859 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.007348, allocations: 96 / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.007374, allocations: 42.48 kB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.007376, allocations: 0 / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003462/0.007723, allocations: 85.42 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.007759, allocations: 55.41 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.00788, allocations: 151 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.007894, allocations: 29.7 kB / 326.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.007933, allocations: 88.08 kB / 327 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.007964, allocations: 27.77 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.008002, allocations: 13.72 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.008102, allocations: 322.8 kB / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.008118, allocations: 4 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.00813, allocations: 0 / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.008171, allocations: 27.67 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008172, allocations: 4 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.195e-05/0.008254, allocations: 53.56 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008267, allocations: 4 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008272, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.008285, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.008346, allocations: 12.27 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.00835, allocations: 0 / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.008375, allocations: 4 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.00838, allocations: 0 / 327.5 MB, free: 5.266 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 8.015e-05/0.00846, allocations: 116.7 kB / 327.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.008491, allocations: 16.17 kB / 327.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.008613, allocations: 70.05 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008616, allocations: 0 / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008618, allocations: 0 / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.00862, allocations: 0 / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.008884, allocations: 214.8 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.008887, allocations: 3.938 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.008937, allocations: 8 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.00894, allocations: 0 / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.008945, allocations: 0 / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.008948, allocations: 3.938 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008949, allocations: 4 kB / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.009052, allocations: 139.5 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.009067, allocations: 15.89 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.00908, allocations: 4 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.009128, allocations: 4 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.009153, allocations: 3.984 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.009158, allocations: 0 / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.009198, allocations: 31.66 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009198, allocations: 3.938 kB / 328.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.009404, allocations: 16 kB / 328.1 MB, free: 4.562 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.001572/0.01098, allocations: 0.5037 MB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.01107, allocations: 24.78 kB / 328.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01108, allocations: 4 kB / 328.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.0111, allocations: 16.98 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01136, allocations: 23.58 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.01177, allocations: 179.1 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.01182, allocations: 67.28 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.01187, allocations: 11.98 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.01194, allocations: 63.34 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01194, allocations: 0 / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of Templates: time 0.004031/0.01597, allocations: 1.248 MB / 330.3 MB, free: 2.652 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.93234446272254]