Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.001145/0.001145, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001795/0.001795, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9679/0.9679, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1426/0.1426, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.637e-05, allocations: 10.19 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002797/0.002823, allocations: 1.586 MB / 349.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006216/0.003445, allocations: 327.4 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.003516, allocations: 0 / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.003775, allocations: 27.83 kB / 350.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.003991, allocations: 35.73 kB / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.004288, allocations: 95.8 kB / 350.2 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.00443, allocations: 59.78 kB / 350.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.004528, allocations: 7.938 kB / 350.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.004604, allocations: 31.89 kB / 350.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.00467, allocations: 15.94 kB / 350.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.004687, allocations: 0 / 350.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.004777, allocations: 27.98 kB / 350.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.004823, allocations: 11.94 kB / 350.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.00485, allocations: 11.97 kB / 350.4 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.004991, allocations: 67.75 kB / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004994, allocations: 7.938 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004995, allocations: 0 / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004999, allocations: 0 / 350.4 MB, free: 6.855 MB / 282.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.0003195/0.005318, allocations: 404.2 kB / 350.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.005358, allocations: 8.031 kB / 350.8 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.005394, allocations: 8.891 kB / 350.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005509, allocations: 132.5 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.00552, allocations: 4.375 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.005539, allocations: 4.375 kB / 351 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.00565, allocations: 50.95 kB / 351 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.005661, allocations: 4.188 kB / 351 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005669, allocations: 4.125 kB / 351 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005675, allocations: 3.938 kB / 351 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.005701, allocations: 4 kB / 351 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.005944, allocations: 260.3 kB / 351.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.006084, allocations: 39.12 kB / 351.3 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.006103, allocations: 19.7 kB / 351.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.006128, allocations: 0 / 351.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.006147, allocations: 41.33 kB / 351.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.006149, allocations: 7.984 kB / 351.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002867/0.006436, allocations: 77.56 kB / 351.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.006454, allocations: 55.41 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.006524, allocations: 189.9 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-06/0.006531, allocations: 25.7 kB / 351.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.00656, allocations: 142.8 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.006584, allocations: 19.8 kB / 351.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.006616, allocations: 23.36 kB / 351.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.006656, allocations: 0.4884 MB / 352.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.006667, allocations: 4 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-06/0.006676, allocations: 4 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.006703, allocations: 31.66 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006704, allocations: 3.938 kB / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.323e-05/0.006757, allocations: 57.53 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.006768, allocations: 8 kB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006773, allocations: 0 / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006784, allocations: 0 / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.459e-05/0.006818, allocations: 11.98 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006821, allocations: 0 / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.006836, allocations: 8 kB / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.00684, allocations: 0 / 352.5 MB, free: 4.543 MB / 282.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 3.869e-05/0.006878, allocations: 160.6 kB / 352.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.006894, allocations: 11.89 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.006975, allocations: 66.39 kB / 352.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006977, allocations: 4 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.006979, allocations: 0 / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006982, allocations: 0 / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.007138, allocations: 294 kB / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007139, allocations: 0 / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.007163, allocations: 11.94 kB / 353.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.007166, allocations: 3.984 kB / 353.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.007171, allocations: 4 kB / 353.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007172, allocations: 0 / 353.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007173, allocations: 0 / 353.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.208e-05/0.007235, allocations: 211.8 kB / 353.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.007242, allocations: 7.953 kB / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.00725, allocations: 0 / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.721e-05/0.007277, allocations: 4 kB / 353.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.007302, allocations: 3.984 kB / 353.3 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.007305, allocations: 0 / 353.3 MB, free: 3.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.007332, allocations: 142.1 kB / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007332, allocations: 0 / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.007478, allocations: 19.94 kB / 353.5 MB, free: 3.551 MB / 282.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.0007034/0.008182, allocations: 393.3 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.008252, allocations: 31.67 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008254, allocations: 0 / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.69e-05/0.008271, allocations: 19.81 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.008456, allocations: 21.3 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.008689, allocations: 161.9 kB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.379e-05/0.008712, allocations: 63.36 kB / 354.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.008739, allocations: 7.984 kB / 354.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.008778, allocations: 78.2 kB / 354.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008779, allocations: 0 / 354.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of Templates: time 0.002575/0.01135, allocations: 1.259 MB / 355.5 MB, free: 1.574 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.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.3166813710704446]