Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.0009051/0.0009051, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001185/0.001185, allocations: 169 kB / 24.14 MB, free: 360 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.9302/0.9302, allocations: 158.6 MB / 186 MB, free: 2.77 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.1357/0.1357, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.288e-05, allocations: 6.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002312/0.002335, allocations: 1.593 MB / 300.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.002888, allocations: 315.4 kB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.002941, allocations: 0 / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.003168, allocations: 23.86 kB / 301 MB, free: 264 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.003353, allocations: 51.7 kB / 301.1 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003553, allocations: 63.8 kB / 301.1 MB, free: 148 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.003677, allocations: 63.75 kB / 301.2 MB, free: 84 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.003763, allocations: 8 kB / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.003823, allocations: 23.92 kB / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.003875, allocations: 15.92 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.00389, allocations: 4 kB / 301.2 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.003961, allocations: 31.97 kB / 301.3 MB, free: 0 / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1356/0.1396, allocations: 7.156 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.1396, allocations: 13.27 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1398, allocations: 65.22 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1399, allocations: 1.219 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1399, allocations: 3.5 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1399, allocations: 1.594 kB / 301.4 MB, free: 19.27 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.0003317/0.1402, allocations: 280.2 kB / 301.6 MB, free: 19.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1402, allocations: 8.719 kB / 301.6 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1403, allocations: 10.08 kB / 301.6 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1404, allocations: 130.1 kB / 301.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.1404, allocations: 5.031 kB / 301.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1404, allocations: 3.062 kB / 301.8 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.08e-05/0.1405, allocations: 50.53 kB / 301.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1405, allocations: 3.562 kB / 301.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1405, allocations: 4.062 kB / 301.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1405, allocations: 4.688 kB / 301.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.1405, allocations: 8.188 kB / 301.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1407, allocations: 164.5 kB / 302 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1408, allocations: 30.34 kB / 302 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.1408, allocations: 8.234 kB / 302 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1408, allocations: 2.094 kB / 302 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1408, allocations: 35.91 kB / 302.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.654e-06/0.1408, allocations: 0.5312 kB / 302.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002621/0.1411, allocations: 83.08 kB / 302.2 MB, free: 18.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.1411, allocations: 52.44 kB / 302.2 MB, free: 18.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.1412, allocations: 149.1 kB / 302.4 MB, free: 18.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-06/0.1412, allocations: 27.05 kB / 302.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.1412, allocations: 90.62 kB / 302.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.1412, allocations: 15.61 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1412, allocations: 19.41 kB / 302.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.982e-05/0.1413, allocations: 321.7 kB / 302.8 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-06/0.1413, allocations: 3.812 kB / 302.8 MB, free: 17.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.1413, allocations: 5.625 kB / 302.8 MB, free: 17.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.1413, allocations: 17.84 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1413, allocations: 0.5625 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.614e-05/0.1414, allocations: 56.28 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1414, allocations: 9 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1414, allocations: 1.781 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1414, allocations: 0 / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.1414, allocations: 12.44 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.1415, allocations: 1.891 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.1415, allocations: 2.859 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.1415, allocations: 1.094 kB / 302.9 MB, free: 17.92 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.851e-05/0.1415, allocations: 117.9 kB / 303 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1415, allocations: 14.03 kB / 303.1 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.1416, allocations: 65.08 kB / 303.1 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1416, allocations: 1.25 kB / 303.1 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1416, allocations: 0 / 303.1 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1416, allocations: 0.6562 kB / 303.1 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1418, allocations: 202.4 kB / 303.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1418, allocations: 1.125 kB / 303.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1418, allocations: 17.66 kB / 303.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1418, allocations: 5.641 kB / 303.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1418, allocations: 5.344 kB / 303.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1418, allocations: 0 / 303.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1418, allocations: 1.156 kB / 303.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.044e-05/0.1419, allocations: 138.1 kB / 303.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.1419, allocations: 12.14 kB / 303.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-06/0.1419, allocations: 3.938 kB / 303.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.883e-05/0.1419, allocations: 4.578 kB / 303.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.142, allocations: 3.547 kB / 303.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.142, allocations: 0 / 303.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.142, allocations: 41.08 kB / 303.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.142, allocations: 3.75 kB / 303.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.1421, allocations: 14.55 kB / 303.6 MB, free: 17.43 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.0009987/0.1431, allocations: 0.5062 MB / 304.1 MB, free: 17.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.044e-05/0.1432, allocations: 18.61 kB / 304.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1432, allocations: 1.469 kB / 304.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.812e-05/0.1432, allocations: 17.91 kB / 304.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.1434, allocations: 23.81 kB / 304.1 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.1437, allocations: 169.2 kB / 304.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.1437, allocations: 60.3 kB / 304.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.1437, allocations: 11.42 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.1438, allocations: 56.66 kB / 304.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1438, allocations: 0 / 304.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of Templates: time 0.004208/0.148, allocations: 1.219 MB / 305.6 MB, free: 16.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.887580712325871]