Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001205/0.001205, allocations: 91.31 kB / 20.42 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.001292/0.001292, allocations: 169 kB / 23.8 MB, free: 0.7695 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.034/1.034, allocations: 158.6 MB / 185.7 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.1513/0.1513, allocations: 32.36 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.247e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001869/0.001881, allocations: 1.87 MB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002929, allocations: 0.8894 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.002991, allocations: 3.938 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.003274, allocations: 263.2 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.003488, allocations: 187.4 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.003723, allocations: 143.5 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.003896, allocations: 251.2 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.003963, allocations: 17.78 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004068, allocations: 139.6 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004191, allocations: 195.6 kB / 351.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004207, allocations: 8 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.004277, allocations: 47.92 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.004327, allocations: 63.75 kB / 351.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.00436, allocations: 35.81 kB / 351.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.004509, allocations: 183.2 kB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004511, allocations: 4 kB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.004511, allocations: 4 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.444e-06/0.004514, allocations: 0 / 352 MB, free: 5.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000326/0.00484, allocations: 0.6002 MB / 352.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.153e-05/0.004861, allocations: 8.031 kB / 352.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.004902, allocations: 32.75 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.00506, allocations: 220.6 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.005076, allocations: 8.375 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.005095, allocations: 4.375 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.00521, allocations: 106.2 kB / 353 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.005221, allocations: 3.938 kB / 353 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.005231, allocations: 11.92 kB / 353 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.00524, allocations: 4 kB / 353 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.505e-05/0.005285, allocations: 19.98 kB / 353 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.005592, allocations: 0.4947 MB / 353.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.005701, allocations: 110.2 kB / 353.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.00574, allocations: 39.34 kB / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.005749, allocations: 7.938 kB / 353.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.239e-05/0.005841, allocations: 108.3 kB / 353.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 8.71e-07/0.005842, allocations: 4 kB / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004524/0.006295, allocations: 353 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.006315, allocations: 81.11 kB / 354.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.006518, allocations: 414.8 kB / 354.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.00653, allocations: 33.69 kB / 354.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.006593, allocations: 215.1 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.00662, allocations: 47.64 kB / 354.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.006654, allocations: 39.33 kB / 354.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.006725, allocations: 0.5274 MB / 355.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.006758, allocations: 23.98 kB / 355.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.006805, allocations: 81.75 kB / 355.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.006886, allocations: 98.86 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006887, allocations: 0 / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001472/0.007034, allocations: 165.3 kB / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.007043, allocations: 4 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.007046, allocations: 0 / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.007053, allocations: 4 kB / 355.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.007129, allocations: 35.98 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007133, allocations: 4 kB / 355.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.007173, allocations: 15.92 kB / 355.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.00718, allocations: 4 kB / 355.9 MB, free: 0.9023 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.285e-05/0.007243, allocations: 168.5 kB / 356.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.007269, allocations: 39.77 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.007449, allocations: 184.4 kB / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.00745, allocations: 0 / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.007453, allocations: 4 kB / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007457, allocations: 3.984 kB / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.007856, allocations: 0.6676 MB / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007857, allocations: 3.938 kB / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.007897, allocations: 23.94 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.0079, allocations: 4 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.00791, allocations: 7.984 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007911, allocations: 320 / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.007913, allocations: 3.938 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.008161, allocations: 466.2 kB / 357.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.008189, allocations: 35.86 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.00821, allocations: 0 / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.008278, allocations: 8 kB / 357.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.008309, allocations: 23.84 kB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.008323, allocations: 12 kB / 357.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.008493, allocations: 287.1 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008493, allocations: 0 / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.00871, allocations: 39.94 kB / 357.9 MB, free: 14.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.000841/0.009551, allocations: 443.2 kB / 358.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.009703, allocations: 103.5 kB / 358.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.009704, allocations: 0 / 358.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.009764, allocations: 51.61 kB / 358.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.01007, allocations: 68.67 kB / 358.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.0106, allocations: 473 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.01067, allocations: 95.95 kB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.561e-05/0.01073, allocations: 38.22 kB / 359.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.01077, allocations: 20.5 kB / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.01077, allocations: 0 / 359.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Templates: time 0.004988/0.01576, allocations: 3.174 MB / 362.3 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.4252063180319965]