Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001001/0.001001, 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.001055/0.001055, 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2842/0.2842, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.7 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.444e-05, allocations: 2.312 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002357/0.002382, allocations: 1.852 MB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003736, allocations: 1.08 MB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.003831, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.004288, allocations: 307 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.004729, allocations: 259 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.004966, allocations: 115.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.005253, allocations: 263.2 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.005301, allocations: 5.812 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.005458, allocations: 155.5 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.005648, allocations: 200.1 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.005671, allocations: 8 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.005769, allocations: 47.92 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.005881, allocations: 140.5 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.005952, allocations: 67.67 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.00624, allocations: 282.9 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006243, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006244, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.006251, allocations: 0 / 382.9 MB, free: 13.8 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.0007073/0.006959, allocations: 0.7863 MB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006996, allocations: 12.03 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.007072, allocations: 52.61 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.007411, allocations: 324.7 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.007433, allocations: 4.375 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.007448, allocations: 8.312 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.007607, allocations: 90.28 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.007619, allocations: 15.92 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.007629, allocations: 0 / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.007637, allocations: 0 / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.007682, allocations: 19.98 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.007964, allocations: 312.2 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.008105, allocations: 94.2 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.008155, allocations: 31.38 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.008172, allocations: 11.98 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.008313, allocations: 108.3 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.011e-06/0.008314, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000278/0.008592, allocations: 177.2 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.008629, allocations: 77.11 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.009136, allocations: 0.7018 MB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.009152, allocations: 29.7 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.009303, allocations: 302.8 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.009341, allocations: 23.84 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.009382, allocations: 35.36 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.009541, allocations: 0.5626 MB / 386.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.00958, allocations: 19.92 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.009627, allocations: 58.48 kB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.00971, allocations: 83.17 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009712, allocations: 0 / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001583/0.00987, allocations: 153.2 kB / 386.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.009886, allocations: 4 kB / 386.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.009893, allocations: 8 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.009909, allocations: 4 kB / 386.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.009998, allocations: 27.86 kB / 386.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01, allocations: 4 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.01006, allocations: 7.938 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.01007, allocations: 8 kB / 387 MB, free: 9.402 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.0001001/0.01017, allocations: 161.2 kB / 387.1 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.01021, allocations: 59.61 kB / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.01042, allocations: 169.8 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01042, allocations: 8 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.01043, allocations: 0 / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01043, allocations: 0 / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.01065, allocations: 308.7 kB / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01065, allocations: 4 kB / 387.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.01068, allocations: 8 kB / 387.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01069, allocations: 0 / 387.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.0107, allocations: 11.94 kB / 387.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.0107, allocations: 3.938 kB / 387.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0107, allocations: 0 / 387.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.01088, allocations: 211.7 kB / 387.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.01095, allocations: 71.58 kB / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.01098, allocations: 4 kB / 388 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.01102, allocations: 11.92 kB / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.01106, allocations: 11.98 kB / 388 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01108, allocations: 4 kB / 388 MB, free: 8.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003389/0.01142, allocations: 478.8 kB / 388.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01142, allocations: 0 / 388.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.01162, allocations: 47.98 kB / 388.5 MB, free: 7.785 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.0008597/0.01248, allocations: 390.2 kB / 388.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.01263, allocations: 67.59 kB / 389 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01263, allocations: 0 / 389 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.01268, allocations: 43.73 kB / 389 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.01299, allocations: 76.73 kB / 389.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.01373, allocations: 0.6558 MB / 389.7 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.01381, allocations: 132.2 kB / 389.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.01388, allocations: 47.44 kB / 389.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.01393, allocations: 24.5 kB / 389.9 MB, free: 6.441 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01393, allocations: 4 kB / 389.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of Templates: time 0.006943/0.02088, allocations: 4.015 MB / 393.9 MB, free: 2.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.4104743381030858]