Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001272/0.001272, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00139/0.00139, allocations: 210.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3316, allocations: 66.05 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003362/0.335, allocations: 1.791 MB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.337, allocations: 1.041 MB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.3371, allocations: 4 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.3376, allocations: 307.3 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.3381, allocations: 259.2 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.3384, allocations: 115.6 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.3387, allocations: 259.3 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.3388, allocations: 13.78 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.339, allocations: 131.6 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3392, allocations: 223.4 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3393, allocations: 8 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3394, allocations: 43.98 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3396, allocations: 139.6 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3397, allocations: 115 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.3401, allocations: 388.6 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3401, allocations: 8 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3401, allocations: 0 / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3401, allocations: 0 / 0.5666 GB, free: 15.33 MB / 414.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.00107/0.3412, allocations: 0.6786 MB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3413, allocations: 8.031 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.3413, allocations: 52.61 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.342, allocations: 394.5 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.342, allocations: 4.375 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.342, allocations: 12.11 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3422, allocations: 83.38 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3423, allocations: 3.938 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3423, allocations: 3.984 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3423, allocations: 4 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3424, allocations: 31.92 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.3428, allocations: 318 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.3431, allocations: 105.2 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3432, allocations: 45.69 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3432, allocations: 0 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.3435, allocations: 109 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3435, allocations: 3.938 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005199/0.344, allocations: 205.7 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3441, allocations: 85.05 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.3453, allocations: 1.062 MB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3453, allocations: 25.7 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.3455, allocations: 244.1 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.3456, allocations: 31.73 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3456, allocations: 25.72 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3458, allocations: 374.8 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.3459, allocations: 31.98 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.346, allocations: 63.41 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3462, allocations: 91.42 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3462, allocations: 0 / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003295/0.3465, allocations: 185.2 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3466, allocations: 8 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3466, allocations: 0 / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3466, allocations: 4 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3467, allocations: 23.92 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3467, allocations: 0 / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3468, allocations: 15.92 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3468, allocations: 4 kB / 0.5707 GB, free: 10.81 MB / 414.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.0002284/0.3471, allocations: 221.8 kB / 0.571 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.3471, allocations: 59.55 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.3476, allocations: 209.8 kB / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3476, allocations: 256 / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3476, allocations: 0 / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3476, allocations: 4 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.3479, allocations: 277.1 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3479, allocations: 0 / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.3479, allocations: 11.94 kB / 0.5715 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3479, allocations: 7.938 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3479, allocations: 7.984 kB / 0.5715 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3479, allocations: 4 kB / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3479, allocations: 0 / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.3483, allocations: 213.6 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3485, allocations: 75.47 kB / 0.5718 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.3485, allocations: 7.984 kB / 0.5718 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3486, allocations: 4 kB / 0.5718 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3487, allocations: 11.92 kB / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3487, allocations: 8 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008944/0.3496, allocations: 0.7956 MB / 0.5726 GB, free: 8.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3496, allocations: 4 kB / 0.5726 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3499, allocations: 44 kB / 0.5726 GB, free: 8.797 MB / 414.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.001706/0.3516, allocations: 440.7 kB / 0.5731 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.3519, allocations: 83.89 kB / 0.5731 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3519, allocations: 0 / 0.5731 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.352, allocations: 43.92 kB / 0.5732 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3525, allocations: 77.08 kB / 0.5733 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3537, allocations: 0.8972 MB / 0.5741 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.354, allocations: 241.7 kB / 0.5744 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3541, allocations: 54.95 kB / 0.5744 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.3542, allocations: 35.42 kB / 0.5744 GB, free: 7.078 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3542, allocations: 4 kB / 0.5745 GB, free: 7.074 MB / 414.1 MB Notification: Performance of Templates: time 0.009243/0.3634, allocations: 4.393 MB / 0.5787 GB, free: 2.723 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.171143346000463]