Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001338/0.001338, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001879/0.001879, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3046/0.3046, allocations: 32.8 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.096e-05, allocations: 2.312 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002667/0.002698, allocations: 1.855 MB / 377.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004163, allocations: 1.084 MB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.00428, allocations: 3.938 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.004839, allocations: 315 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.005417, allocations: 259.1 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.005771, allocations: 107.6 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.006171, allocations: 271.2 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.006245, allocations: 9.797 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.006467, allocations: 155.6 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.006706, allocations: 203.6 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.006733, allocations: 11.94 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.006873, allocations: 51.91 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.007016, allocations: 131.6 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.007106, allocations: 75.66 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.007489, allocations: 283.1 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.007494, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007496, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.007502, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.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.0008475/0.00835, allocations: 0.7979 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.008392, allocations: 12.03 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.008483, allocations: 60.56 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.008885, allocations: 328.7 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.008912, allocations: 384 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.008928, allocations: 4.375 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.009129, allocations: 98.23 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.009143, allocations: 3.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.009156, allocations: 3.984 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.009165, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.009216, allocations: 19.98 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.009557, allocations: 320.2 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.009733, allocations: 98.14 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.009784, allocations: 35.36 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.009803, allocations: 4 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.009956, allocations: 108.3 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.009956, allocations: 4 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003487/0.01031, allocations: 185.1 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.01035, allocations: 77.11 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.01093, allocations: 0.7136 MB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.01096, allocations: 25.7 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.01114, allocations: 310.8 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.01121, allocations: 27.8 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.01126, allocations: 31.38 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.01147, allocations: 0.5625 MB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.01152, allocations: 16 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.01157, allocations: 58.72 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.01166, allocations: 75.19 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01167, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001828/0.01185, allocations: 161.2 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01187, allocations: 4 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01188, allocations: 7.938 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.0119, allocations: 0 / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.012, allocations: 20.05 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.01201, allocations: 8 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.01207, allocations: 19.88 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.01208, allocations: 7.938 kB / 385 MB, free: 11.34 MB / 362.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.0001212/0.0122, allocations: 161.2 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.01225, allocations: 55.67 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.01251, allocations: 169.8 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01252, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01252, allocations: 4 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01253, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.0128, allocations: 324.4 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.0128, allocations: 0 / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.01284, allocations: 11.98 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01285, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01286, allocations: 4 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01286, allocations: 3.938 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01286, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.0131, allocations: 219.8 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.01318, allocations: 59.66 kB / 386 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.01322, allocations: 8 kB / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.01328, allocations: 15.92 kB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.01335, allocations: 11.98 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.01337, allocations: 4 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003902/0.01376, allocations: 490.7 kB / 386.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.01376, allocations: 0 / 386.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000223/0.01398, allocations: 44 kB / 386.6 MB, free: 9.707 MB / 362.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.0009088/0.01489, allocations: 400.5 kB / 387 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01506, allocations: 67.59 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01506, allocations: 0 / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.01512, allocations: 43.66 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.01543, allocations: 66.27 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.01624, allocations: 0.6832 MB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.01632, allocations: 128.2 kB / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.0164, allocations: 38.95 kB / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.01646, allocations: 36.48 kB / 388 MB, free: 8.332 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01646, allocations: 0 / 388 MB, free: 8.332 MB / 362.7 MB Notification: Performance of Templates: time 0.007197/0.02365, allocations: 4.057 MB / 392.1 MB, free: 4.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.4922932982444763]