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.00101/0.00101, allocations: 88.2 kB / 20.94 MB, free: 3.598 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.001151/0.001151, allocations: 165 kB / 24.24 MB, free: 308 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 1.068/1.068, allocations: 158.6 MB / 186 MB, free: 2.918 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.1633/0.1633, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.234e-06/2.234e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.807e-05, allocations: 5.406 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002741/0.002769, allocations: 1.816 MB / 349.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004153, allocations: 0.8582 MB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.004252, allocations: 3.938 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.004781, allocations: 311.2 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.005153, allocations: 227.1 kB / 350.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.005505, allocations: 139.6 kB / 351.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.005808, allocations: 251.2 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.005861, allocations: 5.812 kB / 351.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.00604, allocations: 143.6 kB / 351.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.006256, allocations: 199.6 kB / 351.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.006285, allocations: 8 kB / 351.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.006381, allocations: 51.84 kB / 351.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.006511, allocations: 139.6 kB / 351.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.006605, allocations: 75.66 kB / 351.9 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.00698, allocations: 271 kB / 352.2 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.006985, allocations: 4 kB / 352.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006986, allocations: 0 / 352.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.006991, allocations: 0 / 352.2 MB, free: 5.223 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.0009195/0.007911, allocations: 0.7786 MB / 353 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.007971, allocations: 8.031 kB / 353 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.008074, allocations: 60.55 kB / 353 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.008516, allocations: 324.7 kB / 353.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.008542, allocations: 8.312 kB / 353.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.008561, allocations: 4.375 kB / 353.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.008773, allocations: 98.22 kB / 353.5 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.008787, allocations: 3.938 kB / 353.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008802, allocations: 4 kB / 353.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.008814, allocations: 0 / 353.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.008882, allocations: 15.98 kB / 353.5 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.009282, allocations: 312.2 kB / 353.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.009488, allocations: 102.1 kB / 353.9 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.009549, allocations: 31.36 kB / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.009567, allocations: 8 kB / 353.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.009741, allocations: 108.3 kB / 354 MB, free: 3.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.009742, allocations: 0 / 354 MB, free: 3.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003389/0.01008, allocations: 177.2 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.01012, allocations: 77.11 kB / 354.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.01075, allocations: 0.694 MB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.01076, allocations: 37.7 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.01093, allocations: 298.8 kB / 355.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.01098, allocations: 35.73 kB / 355.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.01103, allocations: 35.38 kB / 355.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01119, allocations: 0.5586 MB / 355.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.01123, allocations: 16 kB / 356 MB, free: 1.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.01129, allocations: 54.73 kB / 356 MB, free: 1.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.01139, allocations: 79.17 kB / 356.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01139, allocations: 4 kB / 356.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002053/0.0116, allocations: 153.2 kB / 356.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01162, allocations: 8 kB / 356.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01162, allocations: 3.938 kB / 356.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.01164, allocations: 0 / 356.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01175, allocations: 23.98 kB / 356.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.01176, allocations: 0 / 356.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.01184, allocations: 15.89 kB / 356.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01185, allocations: 4 kB / 356.3 MB, free: 0.8359 MB / 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 9.69e-05/0.01194, allocations: 176.4 kB / 356.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.012, allocations: 55.67 kB / 356.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.01226, allocations: 165.7 kB / 356.7 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01226, allocations: 3.938 kB / 356.7 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01227, allocations: 0 / 356.7 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01228, allocations: 4 kB / 356.7 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.01253, allocations: 312.5 kB / 357 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01254, allocations: 0 / 357 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.01257, allocations: 8.25 kB / 357 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01257, allocations: 4 kB / 357 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01259, allocations: 8 kB / 357 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.01259, allocations: 11.92 kB / 357 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01259, allocations: 0 / 357 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.01288, allocations: 207.7 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.01296, allocations: 59.66 kB / 357.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.013, allocations: 7.984 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.01307, allocations: 3.938 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.01311, allocations: 15.98 kB / 357.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01313, allocations: 4 kB / 357.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004749/0.0136, allocations: 474.8 kB / 357.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0136, allocations: 7.938 kB / 357.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.01387, allocations: 51.92 kB / 357.8 MB, free: 15.21 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.001034/0.0149, allocations: 402.7 kB / 358.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.01509, allocations: 67.59 kB / 358.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01509, allocations: 0 / 358.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.01516, allocations: 39.67 kB / 358.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.01554, allocations: 71.36 kB / 358.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01657, allocations: 0.6667 MB / 359.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.01668, allocations: 128.2 kB / 359.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.08e-05/0.01677, allocations: 43.44 kB / 359.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.01684, allocations: 32.5 kB / 359.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01684, allocations: 0 / 359.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.007605/0.02444, allocations: 4.019 MB / 363.3 MB, free: 9.805 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.3797119189985096]