Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001121/0.001121, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001228/0.001228, allocations: 169 kB / 23.8 MB, free: 0.7773 MB / 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 1.12/1.12, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1379/0.1379, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.244e-05, allocations: 4.281 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003997/0.004029, allocations: 1.827 MB / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.005771, allocations: 0.866 MB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.00591, allocations: 0 / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.006567, allocations: 315.1 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.007005, allocations: 215.2 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.007378, allocations: 139.6 kB / 351.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.00772, allocations: 251.2 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.007783, allocations: 5.812 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.007982, allocations: 151.6 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.00823, allocations: 203.6 kB / 351.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.008262, allocations: 4 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.008378, allocations: 51.92 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.008504, allocations: 143.6 kB / 351.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.00859, allocations: 67.66 kB / 351.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.00894, allocations: 278.9 kB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.008945, allocations: 0 / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.008946, allocations: 0 / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.008956, allocations: 0 / 352.2 MB, free: 4.875 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009977/0.009954, allocations: 0.7786 MB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.01002, allocations: 8.031 kB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.01014, allocations: 56.56 kB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.01064, allocations: 336.6 kB / 353.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.01068, allocations: 8.312 kB / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.0107, allocations: 4.375 kB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.011, allocations: 94.28 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01101, allocations: 3.938 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.01103, allocations: 4 kB / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.01104, allocations: 0 / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.637e-05/0.01113, allocations: 19.92 kB / 353.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.0115, allocations: 312.2 kB / 353.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.01173, allocations: 102.2 kB / 353.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.01179, allocations: 39.3 kB / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.01181, allocations: 0 / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.01201, allocations: 104.4 kB / 354.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.01201, allocations: 0 / 354.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004355/0.01245, allocations: 177.2 kB / 354.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.01248, allocations: 81.11 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/0.01317, allocations: 0.7057 MB / 355 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.01319, allocations: 25.7 kB / 355.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.01336, allocations: 302.8 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.01342, allocations: 31.75 kB / 355.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.01348, allocations: 35.36 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01361, allocations: 0.5587 MB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.01367, allocations: 15.98 kB / 356 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.01372, allocations: 54.73 kB / 356 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.01383, allocations: 79.17 kB / 356.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01384, allocations: 4 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002242/0.01406, allocations: 149.3 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.01409, allocations: 4 kB / 356.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01409, allocations: 7.922 kB / 356.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.01411, allocations: 4 kB / 356.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.01425, allocations: 19.94 kB / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.01426, allocations: 0 / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.01436, allocations: 15.88 kB / 356.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01437, allocations: 8 kB / 356.3 MB, free: 492 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001197/0.01449, allocations: 172.5 kB / 356.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.01455, allocations: 51.67 kB / 356.5 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.01485, allocations: 169.7 kB / 356.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01486, allocations: 7.938 kB / 356.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01486, allocations: 0 / 356.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01487, allocations: 0 / 356.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.01523, allocations: 304.5 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.01524, allocations: 4 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.01531, allocations: 15.92 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01531, allocations: 4 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01533, allocations: 8.25 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.01534, allocations: 7.938 kB / 357.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01534, allocations: 0 / 357.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.01564, allocations: 207.7 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/0.01574, allocations: 59.66 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.01579, allocations: 4 kB / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.01588, allocations: 11.92 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.01593, allocations: 15.92 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.01595, allocations: 4 kB / 357.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005452/0.0165, allocations: 478.8 kB / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0165, allocations: 7.938 kB / 357.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.0168, allocations: 43.94 kB / 357.9 MB, free: 14.86 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00136/0.01816, allocations: 404.1 kB / 358.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.01839, allocations: 67.59 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01839, allocations: 0 / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.01847, allocations: 39.61 kB / 358.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.01893, allocations: 74.58 kB / 358.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.02024, allocations: 0.6589 MB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.02037, allocations: 128.2 kB / 359.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.0205, allocations: 43.45 kB / 359.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.0206, allocations: 32.48 kB / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.703e-06/0.0206, allocations: 0 / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.01011/0.03071, allocations: 4.244 MB / 363.5 MB, free: 9.227 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.4926825067959726]