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.00261/0.00261, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002691/0.002691, allocations: 165.3 kB / 24.27 MB, free: 160 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.665/1.665, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.3623/0.3623, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.282e-06/1.282e-06, allocations: 0 / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.171e-05, allocations: 5.406 kB / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003409/0.003441, allocations: 1.821 MB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.005723, allocations: 1.076 MB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.005809, allocations: 4 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.006386, allocations: 295.2 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.006954, allocations: 266.9 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.007229, allocations: 107.6 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.007607, allocations: 267.2 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.007652, allocations: 5.812 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.007895, allocations: 155.6 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.008175, allocations: 196.1 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.008212, allocations: 8 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.00834, allocations: 51.91 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.008528, allocations: 136.5 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.008648, allocations: 71.66 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.009162, allocations: 354.7 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.009167, allocations: 0 / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009169, allocations: 0 / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.009176, allocations: 0 / 382.1 MB, free: 14.1 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.001304/0.01048, allocations: 0.8016 MB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01052, allocations: 12.03 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01063, allocations: 52.59 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.01121, allocations: 340.6 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.01122, allocations: 384 / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.01124, allocations: 4.375 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.01146, allocations: 93.58 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01147, allocations: 3.938 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.01149, allocations: 4 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.01149, allocations: 0 / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.01161, allocations: 27.92 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.01225, allocations: 344.3 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.01255, allocations: 110.2 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.01265, allocations: 43.3 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.01267, allocations: 15.98 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01293, allocations: 112.4 kB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.01293, allocations: 0 / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005372/0.01346, allocations: 197.2 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.01353, allocations: 89.03 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.0145, allocations: 0.7603 MB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.01453, allocations: 29.7 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.01482, allocations: 322.8 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.01488, allocations: 31.83 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.01494, allocations: 31.38 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003704/0.01531, allocations: 0.586 MB / 386.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.01538, allocations: 23.98 kB / 386.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.0155, allocations: 66.73 kB / 386.2 MB, free: 9.777 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.01568, allocations: 103.1 kB / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01568, allocations: 0 / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003187/0.016, allocations: 169.2 kB / 386.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01602, allocations: 8 kB / 386.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01603, allocations: 3.938 kB / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.01604, allocations: 0 / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.01617, allocations: 31.98 kB / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01618, allocations: 0 / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.01627, allocations: 11.94 kB / 386.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.01629, allocations: 7.984 kB / 386.5 MB, free: 9.426 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.0001604/0.01645, allocations: 169.2 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.01653, allocations: 59.56 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.01694, allocations: 181.8 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01694, allocations: 4 kB / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01694, allocations: 0 / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01695, allocations: 0 / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.0174, allocations: 352.5 kB / 387.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.01741, allocations: 3.984 kB / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.01745, allocations: 12.19 kB / 387.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01746, allocations: 4 kB / 387.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.01748, allocations: 4 kB / 387.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01748, allocations: 3.938 kB / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01748, allocations: 0 / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.01788, allocations: 231.6 kB / 387.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.01804, allocations: 59.61 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.01809, allocations: 7.984 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.01817, allocations: 11.94 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.01822, allocations: 15.92 kB / 387.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.01825, allocations: 8 kB / 387.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006261/0.01887, allocations: 0.491 MB / 388.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01887, allocations: 0 / 388.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.01915, allocations: 44 kB / 388.2 MB, free: 7.711 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.002969/0.02212, allocations: 442 kB / 388.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.02239, allocations: 95.52 kB / 388.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02239, allocations: 4.125 kB / 388.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.02251, allocations: 51.61 kB / 388.7 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.0004663/0.02298, allocations: 80.03 kB / 388.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.02407, allocations: 0.6675 MB / 389.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.02433, allocations: 229.7 kB / 389.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.807e-05/0.02443, allocations: 42.95 kB / 389.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.02451, allocations: 28.48 kB / 389.8 MB, free: 6.207 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02451, allocations: 0 / 389.8 MB, free: 6.207 MB / 362.7 MB Notification: Performance of Templates: time 0.009789/0.0343, allocations: 3.963 MB / 393.7 MB, free: 2.277 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] 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.030855807010084]