Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001046/0.001046, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009482/0.0009482, allocations: 165 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 0.9538/0.9538, allocations: 177.1 MB / 205 MB, free: 5.184 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.2557/0.2557, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.737e-05, allocations: 2.312 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002591/0.002608, allocations: 1.758 MB / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.004471, allocations: 1.73 MB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004573, allocations: 4 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.004964, allocations: 39.72 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.005342, allocations: 107.4 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.005502, allocations: 75.67 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.005663, allocations: 123.5 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.005744, allocations: 4 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.005822, allocations: 63.81 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.005913, allocations: 35.89 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.005932, allocations: 8 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.006067, allocations: 107.8 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.006114, allocations: 23.92 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.006152, allocations: 23.92 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.006383, allocations: 171.4 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006385, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.006387, allocations: 3.984 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006392, allocations: 4 kB / 382.4 MB, free: 14.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004532/0.006845, allocations: 459.7 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.00688, allocations: 8.031 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.00693, allocations: 12.89 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.007111, allocations: 163.1 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.007128, allocations: 8.375 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.007159, allocations: 384 / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.007326, allocations: 116 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007338, allocations: 3.938 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.007352, allocations: 7.984 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.00736, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.007409, allocations: 19.97 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.007699, allocations: 291.7 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.007808, allocations: 59.09 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.007837, allocations: 27.62 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.007849, allocations: 4 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.22e-05/0.007942, allocations: 81.02 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.007943, allocations: 0 / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003899/0.008333, allocations: 173.4 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.008371, allocations: 85.05 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008499, allocations: 218.5 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.008511, allocations: 25.7 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.008564, allocations: 146.9 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.008589, allocations: 31.73 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.008624, allocations: 39.38 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.008729, allocations: 0.4884 MB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.008757, allocations: 23.92 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.008803, allocations: 68.75 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.126e-05/0.008864, allocations: 59.25 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008865, allocations: 0 / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001073/0.008973, allocations: 97.56 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.008985, allocations: 9.094 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.008989, allocations: 64 / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.009005, allocations: 4 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.009081, allocations: 19.98 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.009086, allocations: 0 / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.009117, allocations: 8 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.009122, allocations: 0 / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.112e-05/0.009193, allocations: 168.5 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.009211, allocations: 15.91 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.009368, allocations: 122.4 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009371, allocations: 4 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009374, allocations: 4 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.009378, allocations: 0 / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.009677, allocations: 409.1 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.009679, allocations: 4 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.009711, allocations: 11.98 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009714, allocations: 4 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.009722, allocations: 0 / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009723, allocations: 0 / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009724, allocations: 4 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.01017, allocations: 275.4 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.01019, allocations: 23.92 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01021, allocations: 4 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.01025, allocations: 3.938 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.01028, allocations: 11.98 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01029, allocations: 7.984 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.479e-05/0.01037, allocations: 171.9 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.01056, allocations: 47.86 kB / 386.4 MB, free: 9.977 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001135/0.01169, allocations: 0.5378 MB / 386.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01182, allocations: 67.59 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01182, allocations: 0 / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.01186, allocations: 39.61 kB / 387 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.01209, allocations: 45.05 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.01241, allocations: 217.8 kB / 387.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.01245, allocations: 71.33 kB / 387.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.01249, allocations: 20.75 kB / 387.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.01253, allocations: 32.48 kB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01253, allocations: 0 / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of Templates: time 0.003872/0.0164, allocations: 2.655 MB / 390 MB, free: 6.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.281880267895758]