Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001282/0.001282, allocations: 79.92 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.001495/0.001495, allocations: 169 kB / 24.14 MB, free: 364 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.9073/0.9073, 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.141/0.141, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.614e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002239/0.002266, allocations: 1.597 MB / 300.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1318/0.1341, allocations: 1.061 MB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.1341, allocations: 0 / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1344, allocations: 23.3 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1346, allocations: 48.17 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1348, allocations: 74.91 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1349, allocations: 58.97 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.135, allocations: 10.92 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.1351, allocations: 27.25 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1352, allocations: 21.16 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1352, allocations: 2.938 kB / 302 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1353, allocations: 54.7 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.1353, allocations: 11.84 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1354, allocations: 14.39 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1355, allocations: 77.91 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1355, allocations: 2.781 kB / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1355, allocations: 0 / 302.2 MB, free: 19.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1355, allocations: 0 / 302.2 MB, free: 19.24 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.0002812/0.1358, allocations: 279.1 kB / 302.4 MB, free: 18.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1359, allocations: 8.969 kB / 302.4 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1359, allocations: 5.109 kB / 302.4 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.136, allocations: 141.4 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.136, allocations: 2.75 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.136, allocations: 2.469 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1362, allocations: 93.36 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1362, allocations: 2.312 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1362, allocations: 4.125 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1362, allocations: 2.281 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.1362, allocations: 5.312 kB / 302.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1364, allocations: 160.7 kB / 302.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1365, allocations: 30.67 kB / 302.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.1365, allocations: 12.27 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1365, allocations: 1.875 kB / 302.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.1366, allocations: 32.3 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1366, allocations: 1.625 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002745/0.1368, allocations: 84.56 kB / 303 MB, free: 18.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.1369, allocations: 79.39 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.1369, allocations: 132.6 kB / 303.2 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.1369, allocations: 31.2 kB / 303.2 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.137, allocations: 87.42 kB / 303.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.137, allocations: 18.52 kB / 303.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.137, allocations: 24.02 kB / 303.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.36e-05/0.1371, allocations: 320.1 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.1371, allocations: 4.734 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.1371, allocations: 43.02 kB / 303.7 MB, free: 17.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.1371, allocations: 18.25 kB / 303.7 MB, free: 17.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1371, allocations: 7.219 kB / 303.7 MB, free: 17.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.682e-05/0.1372, allocations: 53.36 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1372, allocations: 4.656 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1372, allocations: 1.219 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1372, allocations: 0.7031 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/0.1373, allocations: 13.61 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.1373, allocations: 0.75 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1373, allocations: 4.359 kB / 303.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1373, allocations: 0.5 kB / 303.8 MB, free: 17.73 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 4.492e-05/0.1373, allocations: 118.4 kB / 303.9 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.1373, allocations: 12.89 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.1374, allocations: 64.92 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1374, allocations: 1.188 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1374, allocations: 1.094 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1374, allocations: 0.75 kB / 304 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1376, allocations: 206.2 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1376, allocations: 5.016 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1376, allocations: 9.75 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1377, allocations: 1.344 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.1377, allocations: 3.938 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1377, allocations: 2.547 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1377, allocations: 1.656 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.566e-05/0.1377, allocations: 141.3 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.1377, allocations: 8.438 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1378, allocations: 2.016 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.1378, allocations: 6.656 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1378, allocations: 7.203 kB / 304.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1378, allocations: 2.656 kB / 304.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.1379, allocations: 25.77 kB / 304.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1379, allocations: 1.156 kB / 304.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000173/0.138, allocations: 23.53 kB / 304.5 MB, free: 17.23 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.00112/0.1392, allocations: 0.5688 MB / 305 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.381e-05/0.1392, allocations: 23.94 kB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1392, allocations: 5.156 kB / 305.1 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.1393, allocations: 14.17 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.1394, allocations: 31.88 kB / 305.1 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.1397, allocations: 155.1 kB / 305.3 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.518e-05/0.1397, allocations: 60.36 kB / 305.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.1397, allocations: 11.22 kB / 305.3 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.1398, allocations: 63.94 kB / 305.4 MB, free: 16.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1398, allocations: 0 / 305.4 MB, free: 16.62 MB / 282.7 MB Notification: Performance of Templates: time 0.00351/0.1433, allocations: 1.52 MB / 306.9 MB, free: 16.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.962691205088049]