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.001009/0.001009, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001227/0.001227, allocations: 168.5 kB / 24.82 MB, free: 9.203 MB / 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.127/1.127, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2933/0.2933, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.Test71,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.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,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.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.846e-05, allocations: 2.312 kB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002966/0.002995, allocations: 1.836 MB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004635, allocations: 1.072 MB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.004752, allocations: 3.938 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.005321, allocations: 307.1 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.005821, allocations: 263 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.006061, allocations: 111.6 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.006402, allocations: 267.2 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.514e-05/0.006467, allocations: 5.812 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.006669, allocations: 155.6 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.006904, allocations: 211.5 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.006934, allocations: 8 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.007042, allocations: 47.92 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.007182, allocations: 147.5 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.007264, allocations: 67.67 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.007584, allocations: 278.9 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007589, allocations: 4 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007589, allocations: 0 / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.007597, allocations: 0 / 383.3 MB, free: 13.52 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.0007516/0.008348, allocations: 0.79 MB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.008395, allocations: 16.03 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.008486, allocations: 56.56 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.008798, allocations: 312.7 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.008824, allocations: 8.375 kB / 384.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.008835, allocations: 4.359 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.008996, allocations: 94.23 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.009008, allocations: 7.875 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.009018, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.009026, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.009065, allocations: 19.97 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.009348, allocations: 224.8 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.00952, allocations: 90.14 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.00956, allocations: 31.36 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.009588, allocations: 0 / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.009773, allocations: 112.3 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.009774, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003396/0.01011, allocations: 185.3 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.01017, allocations: 81.11 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.01069, allocations: 0.682 MB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01071, allocations: 33.7 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.01088, allocations: 310.7 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.01093, allocations: 35.72 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.01097, allocations: 35.36 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.01118, allocations: 0.5625 MB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.01121, allocations: 11.98 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.01126, allocations: 58.73 kB / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.01134, allocations: 66.66 kB / 387.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01134, allocations: 0 / 387.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00017/0.01151, allocations: 149.2 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01153, allocations: 4 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01153, allocations: 0 / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01155, allocations: 7.938 kB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01166, allocations: 23.98 kB / 387.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.01166, allocations: 8.062 kB / 387.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.01172, allocations: 11.89 kB / 387.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.01173, allocations: 7.984 kB / 387.3 MB, free: 9.234 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.0001104/0.01184, allocations: 165.6 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.01188, allocations: 55.67 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.01209, allocations: 161.9 kB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01209, allocations: 3.938 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01209, allocations: 0 / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.0121, allocations: 0 / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.01229, allocations: 244.9 kB / 387.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.0123, allocations: 0 / 387.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.01234, allocations: 12 kB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01234, allocations: 3.984 kB / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.01235, allocations: 0 / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01235, allocations: 4 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01235, allocations: 0 / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.01255, allocations: 211.6 kB / 388.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.01261, allocations: 55.66 kB / 388.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.01264, allocations: 8 kB / 388.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.01269, allocations: 0 / 388.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.01274, allocations: 15.92 kB / 388.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01275, allocations: 11.98 kB / 388.3 MB, free: 8.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002979/0.01305, allocations: 434.7 kB / 388.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01305, allocations: 0 / 388.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.01325, allocations: 47.98 kB / 388.7 MB, free: 7.762 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.001092/0.01434, allocations: 410.5 kB / 389.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01449, allocations: 59.59 kB / 389.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01449, allocations: 0 / 389.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.01454, allocations: 35.66 kB / 389.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.01485, allocations: 84.75 kB / 389.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.01563, allocations: 0.6597 MB / 390 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.01572, allocations: 132.2 kB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.0158, allocations: 42.94 kB / 390.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.01592, allocations: 118.2 kB / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01592, allocations: 0 / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of Templates: time 0.006765/0.02268, allocations: 4.337 MB / 394.6 MB, free: 2.047 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.3076686509884894]