Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001981/0.001981, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00236/0.00236, allocations: 165.7 kB / 24.27 MB, free: 172 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.708/1.708, allocations: 177.2 MB / 204.6 MB, free: 5.57 MB / 186.7 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.398/0.398, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.206e-05, allocations: 6.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003869/0.003901, allocations: 1.797 MB / 379.2 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.006301, allocations: 1.052 MB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.006442, allocations: 0 / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.007135, allocations: 299.2 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.007862, allocations: 259 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.008361, allocations: 115.5 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.009012, allocations: 271.2 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.0091, allocations: 9.812 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.009584, allocations: 147.7 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.01003, allocations: 196.1 kB / 381.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.01008, allocations: 11.94 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.01028, allocations: 47.92 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.01053, allocations: 136.5 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.0107, allocations: 71.66 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.01141, allocations: 354.8 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.01142, allocations: 0 / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01142, allocations: 0 / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.01144, allocations: 0 / 382.1 MB, free: 14.13 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.001602/0.01304, allocations: 0.6747 MB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.01308, allocations: 8.031 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.01324, allocations: 52.61 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.01403, allocations: 385.8 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.01406, allocations: 12.36 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.01408, allocations: 4.375 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.01433, allocations: 91.86 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01434, allocations: 3.938 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.01435, allocations: 0 / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.01436, allocations: 4 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.01449, allocations: 31.97 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.01499, allocations: 298.1 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.01532, allocations: 109.2 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.01544, allocations: 45.69 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.01546, allocations: 0 / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.01573, allocations: 109 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.01573, allocations: 0 / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006835/0.01642, allocations: 213.2 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.0165, allocations: 81.11 kB / 384.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.01808, allocations: 1.038 MB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01811, allocations: 33.7 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.0186, allocations: 236.1 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.01866, allocations: 27.83 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.01873, allocations: 25.72 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.01897, allocations: 370.8 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01908, allocations: 31.92 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.01921, allocations: 59.42 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.01943, allocations: 95.84 kB / 386.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01943, allocations: 4 kB / 386.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004094/0.01984, allocations: 185.2 kB / 386.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01986, allocations: 4 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.01987, allocations: 7.938 kB / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.0199, allocations: 0 / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.02003, allocations: 23.98 kB / 386.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.02004, allocations: 4 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.02016, allocations: 7.938 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.02018, allocations: 19.97 kB / 386.3 MB, free: 9.656 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.0002759/0.02046, allocations: 218.4 kB / 386.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.02056, allocations: 55.62 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.02104, allocations: 209.8 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02105, allocations: 0 / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.02106, allocations: 4 kB / 386.8 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02106, allocations: 0 / 386.8 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.02144, allocations: 257.4 kB / 387.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.02145, allocations: 4 kB / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.02151, allocations: 15.98 kB / 387.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.02151, allocations: 8 kB / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.02154, allocations: 0 / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.02155, allocations: 3.938 kB / 387.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02155, allocations: 0 / 387.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.022, allocations: 233.4 kB / 387.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.02214, allocations: 67.59 kB / 387.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.02219, allocations: 4 kB / 387.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02229, allocations: 11.92 kB / 387.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.02236, allocations: 11.98 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.02238, allocations: 8 kB / 387.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.02345, allocations: 0.7721 MB / 388.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02345, allocations: 0 / 388.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.02377, allocations: 40 kB / 388.2 MB, free: 7.691 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.002101/0.02587, allocations: 448.3 kB / 388.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.02617, allocations: 91.83 kB / 388.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02617, allocations: 0 / 388.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.0263, allocations: 40.11 kB / 388.8 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.02678, allocations: 78.14 kB / 388.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.02837, allocations: 0.8935 MB / 389.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.02873, allocations: 237.8 kB / 390 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.02888, allocations: 54.94 kB / 390.1 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.02897, allocations: 32.5 kB / 390.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02897, allocations: 0 / 390.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of Templates: time 0.01085/0.03982, allocations: 4 MB / 394.1 MB, free: 1.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.219098897068761]