Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001415/0.001415, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.001194/0.001194, allocations: 169 kB / 24.14 MB, free: 356 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.8812/0.8812, allocations: 158.6 MB / 186 MB, free: 2.438 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.1446/0.1446, allocations: 32.36 MB / 270.7 MB, free: 14.59 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.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.44e-05, allocations: 6.25 kB / 299.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003149/0.003174, allocations: 1.774 MB / 301 MB, free: 280 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1347/0.1379, allocations: 0.7912 MB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.138, allocations: 4.938 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1383, allocations: 41.2 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1385, allocations: 54.55 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1387, allocations: 89.27 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1388, allocations: 96.84 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.1389, allocations: 12.48 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.139, allocations: 56.27 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.1391, allocations: 24.42 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1391, allocations: 4.125 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.1392, allocations: 39.69 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1392, allocations: 24.41 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.1393, allocations: 17.73 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1395, allocations: 95.62 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1395, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1395, allocations: 5.562 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1395, allocations: 0.9688 kB / 302.3 MB, free: 19.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003427/0.1398, allocations: 317.3 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1398, allocations: 11.72 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1399, allocations: 7.188 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.14, allocations: 142.7 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.14, allocations: 3.641 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1401, allocations: 2.594 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1402, allocations: 63.81 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1402, allocations: 4.594 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1402, allocations: 1.219 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1402, allocations: 3.719 kB / 302.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.1402, allocations: 14.27 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.1405, allocations: 165.3 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.1405, allocations: 85.23 kB / 303.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.1406, allocations: 11.73 kB / 303.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1406, allocations: 1.844 kB / 303.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.701e-05/0.1407, allocations: 75.58 kB / 303.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1407, allocations: 1.125 kB / 303.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002753/0.1409, allocations: 112.9 kB / 303.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.868e-05/0.141, allocations: 52.5 kB / 303.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.141, allocations: 166.8 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1411, allocations: 27.58 kB / 303.6 MB, free: 18.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.017e-05/0.1411, allocations: 101 kB / 303.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1411, allocations: 25.23 kB / 303.7 MB, free: 18.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.1411, allocations: 28.33 kB / 303.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.1412, allocations: 325.1 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.1412, allocations: 10.39 kB / 304 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.1412, allocations: 23.47 kB / 304.1 MB, free: 17.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.1413, allocations: 45.41 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1413, allocations: 0 / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.036e-05/0.1413, allocations: 73.36 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1414, allocations: 6.359 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1414, allocations: 0 / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1414, allocations: 1.219 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.1414, allocations: 19.58 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1414, allocations: 2.469 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.1415, allocations: 3.141 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1415, allocations: 9.312 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.613e-05/0.1415, allocations: 119.2 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.1415, allocations: 15.91 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/0.1416, allocations: 72.8 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1416, allocations: 1.188 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1416, allocations: 0 / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1416, allocations: 3.312 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1418, allocations: 299.9 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1418, allocations: 1.062 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.1418, allocations: 10.28 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1418, allocations: 1.844 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1418, allocations: 1.828 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1418, allocations: 1.094 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1418, allocations: 1.094 kB / 304.7 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.287e-05/0.1419, allocations: 220.3 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.1419, allocations: 7.812 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1419, allocations: 3.234 kB / 305 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.142, allocations: 7.438 kB / 305 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.142, allocations: 5.125 kB / 305 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.142, allocations: 7.938 kB / 305 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.1421, allocations: 48.44 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1421, allocations: 3.938 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.1422, allocations: 25.78 kB / 305 MB, free: 16.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001118/0.1433, allocations: 0.5757 MB / 305.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.1434, allocations: 39.52 kB / 305.7 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1434, allocations: 1.156 kB / 305.7 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.1435, allocations: 28.92 kB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.1437, allocations: 38.12 kB / 305.7 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.1439, allocations: 217.2 kB / 305.9 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.144, allocations: 71.08 kB / 306 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.144, allocations: 15.25 kB / 306 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.1441, allocations: 65.78 kB / 306.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1441, allocations: 0 / 306.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of Templates: time 0.003867/0.1479, allocations: 1.998 MB / 308.1 MB, free: 16.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.0020607956685126]