Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001596/0.001596, allocations: 76.38 kB / 19.93 MB, free: 1.773 MB / 14.72 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.002156/0.002156, allocations: 175.6 kB / 23.22 MB, free: 4.879 MB / 14.72 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.619/1.619, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.2339/0.2339, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.686e-05/3.941e-05, allocations: 4.391 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003941/0.00398, allocations: 1.754 MB / 409.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.005833, allocations: 0.8542 MB / 410 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.005936, allocations: 0 / 410 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.006665, allocations: 311.1 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.007187, allocations: 215.2 kB / 410.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.007605, allocations: 142.9 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.007993, allocations: 255.2 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.914e-05/0.008062, allocations: 5.812 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.00832, allocations: 155.6 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.008622, allocations: 203.6 kB / 411.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.008658, allocations: 4 kB / 411.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.008776, allocations: 51.86 kB / 411.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.00896, allocations: 139.6 kB / 411.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.00907, allocations: 63.67 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.009548, allocations: 346.8 kB / 411.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.009554, allocations: 8 kB / 411.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009555, allocations: 0 / 411.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.009567, allocations: 4 kB / 411.9 MB, free: 14.45 MB / 350.1 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.001241/0.01081, allocations: 0.6669 MB / 412.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.01085, allocations: 12.03 kB / 412.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.01096, allocations: 48.61 kB / 412.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/0.01181, allocations: 385.8 kB / 413 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.01183, allocations: 4.359 kB / 413 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.01185, allocations: 4.375 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.01212, allocations: 95.84 kB / 413.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.01213, allocations: 7.938 kB / 413.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.01215, allocations: 4 kB / 413.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.01216, allocations: 0 / 413.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.01228, allocations: 35.97 kB / 413.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.01283, allocations: 298.1 kB / 413.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.01314, allocations: 109.2 kB / 413.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01325, allocations: 37.69 kB / 413.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.01326, allocations: 8 kB / 413.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.01351, allocations: 109 kB / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.01351, allocations: 0 / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005903/0.0141, allocations: 213.2 kB / 413.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.01419, allocations: 85.11 kB / 414 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.01554, allocations: 1.034 MB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.01558, allocations: 37.69 kB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.01583, allocations: 224.1 kB / 415.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.01589, allocations: 35.73 kB / 415.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.01595, allocations: 33.72 kB / 415.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.0163, allocations: 366.8 kB / 415.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.0164, allocations: 31.98 kB / 415.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01651, allocations: 55.42 kB / 415.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.01677, allocations: 91.34 kB / 415.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01678, allocations: 0 / 415.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003536/0.01713, allocations: 185.2 kB / 416.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.01715, allocations: 8 kB / 416.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.01716, allocations: 3.938 kB / 416.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01718, allocations: 4 kB / 416.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.0173, allocations: 23.92 kB / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01731, allocations: 0 / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01742, allocations: 12.58 kB / 416.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.01744, allocations: 11.98 kB / 416.1 MB, free: 9.988 MB / 350.1 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.0002844/0.01772, allocations: 217.6 kB / 416.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.01779, allocations: 55.7 kB / 416.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.01826, allocations: 217.6 kB / 416.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.01827, allocations: 4 kB / 416.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01827, allocations: 0 / 416.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01828, allocations: 0 / 416.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.01873, allocations: 265.1 kB / 416.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01873, allocations: 0 / 416.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.01878, allocations: 15.98 kB / 416.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01878, allocations: 0 / 416.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.0188, allocations: 4 kB / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/0.0189, allocations: 11.94 kB / 416.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0189, allocations: 0 / 416.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.01932, allocations: 217.5 kB / 417.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.01944, allocations: 63.66 kB / 417.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.01949, allocations: 4 kB / 417.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.01958, allocations: 15.91 kB / 417.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.01962, allocations: 7.984 kB / 417.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.01965, allocations: 12 kB / 417.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.02072, allocations: 0.7721 MB / 418 MB, free: 8.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02072, allocations: 0 / 418 MB, free: 8.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000299/0.02102, allocations: 51.94 kB / 418 MB, free: 8.004 MB / 350.1 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.00181/0.02283, allocations: 446.4 kB / 418.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.02312, allocations: 83.89 kB / 418.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02312, allocations: 0 / 418.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.02324, allocations: 43.92 kB / 418.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.02369, allocations: 70.95 kB / 418.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.02527, allocations: 0.881 MB / 419.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.02554, allocations: 241.8 kB / 419.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.02565, allocations: 63.38 kB / 419.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.02573, allocations: 28.5 kB / 419.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.02573, allocations: 0 / 419.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of Templates: time 0.01015/0.03588, allocations: 3.972 MB / 423.8 MB, free: 2.242 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.325793635100126]