Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001012/0.001012, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001166/0.001166, allocations: 161 kB / 24.56 MB, free: 16 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 0.9691/0.9691, allocations: 177.1 MB / 205 MB, free: 5.629 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.2644/0.2644, allocations: 32.81 MB / 294.3 MB, free: 1.203 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.709e-05, allocations: 2.312 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002125/0.002142, allocations: 1.642 MB / 377.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007725/0.002915, allocations: 0.5414 MB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.002974, allocations: 0 / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.003189, allocations: 27.84 kB / 378.2 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.003461, allocations: 79.55 kB / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.003701, allocations: 111.6 kB / 378.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.00384, allocations: 67.77 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.003933, allocations: 19.92 kB / 378.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.003987, allocations: 27.92 kB / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.00404, allocations: 11.98 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004056, allocations: 4 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.004124, allocations: 31.97 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.004173, allocations: 15.92 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.004202, allocations: 15.94 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004351, allocations: 75.61 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004353, allocations: 0 / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004354, allocations: 0 / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004359, allocations: 0 / 378.7 MB, free: 1.941 MB / 346.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.0004022/0.004761, allocations: 424.1 kB / 379.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004796, allocations: 8.031 kB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.004835, allocations: 8.891 kB / 379.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.004978, allocations: 136.5 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.004987, allocations: 384 / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.005015, allocations: 4.375 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.005125, allocations: 62.88 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005135, allocations: 192 / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005146, allocations: 4.125 kB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.005155, allocations: 0 / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.005183, allocations: 12 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005472, allocations: 271.8 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.005644, allocations: 46.98 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.005665, allocations: 7.688 kB / 379.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.005689, allocations: 7.938 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.005711, allocations: 41.47 kB / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.005712, allocations: 0 / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003285/0.006041, allocations: 101.6 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.006071, allocations: 55.41 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006187, allocations: 213 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006197, allocations: 29.7 kB / 380.1 MB, free: 376 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.006251, allocations: 138.9 kB / 380.2 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.006273, allocations: 19.89 kB / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.006301, allocations: 19.38 kB / 380.3 MB, free: 184 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.006443, allocations: 0.5 MB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.006462, allocations: 4 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.006476, allocations: 4 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.006513, allocations: 27.67 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006514, allocations: 192 / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.141e-05/0.006595, allocations: 65.64 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.006607, allocations: 15.94 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006614, allocations: 7.969 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.006629, allocations: 0 / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.006671, allocations: 8 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006676, allocations: 0 / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.006695, allocations: 4 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006701, allocations: 0 / 380.9 MB, free: 15.52 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 (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 6.687e-05/0.006768, allocations: 168.5 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.006786, allocations: 7.953 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.006904, allocations: 70.08 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006906, allocations: 4 kB / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.00691, allocations: 0 / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006913, allocations: 0 / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.007144, allocations: 317.4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007145, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.007176, allocations: 15.92 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007177, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.007188, allocations: 8 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007189, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00719, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.007299, allocations: 204.1 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.00731, allocations: 15.95 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.007322, allocations: 4 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.007353, allocations: 7.984 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.007381, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.007385, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.007449, allocations: 159.1 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007449, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.007616, allocations: 19.88 kB / 381.9 MB, free: 14.46 MB / 362.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.0007889/0.008405, allocations: 382.2 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.008513, allocations: 31.61 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008515, allocations: 0 / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.417e-05/0.008539, allocations: 19.62 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.008753, allocations: 27.92 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.009075, allocations: 186.5 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.009117, allocations: 59.34 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.009152, allocations: 15.97 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.009183, allocations: 16.5 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009183, allocations: 0 / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002818/0.012, allocations: 1.173 MB / 383.8 MB, free: 12.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.233734603971243]