Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001405/0.001405, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001627/0.001627, allocations: 218.2 kB / 23.73 MB, free: 4.16 MB / 14.72 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 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.2384/0.2384, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 71.84 kB / 0.4967 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 66.03 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003337/0.342, allocations: 1.709 MB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3438, allocations: 0.9754 MB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.3439, allocations: 0 / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3442, allocations: 47.77 kB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3445, allocations: 95.59 kB / 0.5639 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.3447, allocations: 87.66 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.3449, allocations: 99.64 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.345, allocations: 11.98 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.3451, allocations: 47.78 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.3451, allocations: 31.78 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3452, allocations: 4 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.3453, allocations: 39.98 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.3453, allocations: 23.91 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.3454, allocations: 27.75 kB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3456, allocations: 129.9 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3456, allocations: 4 kB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3456, allocations: 0 / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3456, allocations: 0 / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005858/0.3462, allocations: 353.5 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3462, allocations: 8.031 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.3463, allocations: 16.88 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3466, allocations: 154.3 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3466, allocations: 4.375 kB / 0.5649 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3466, allocations: 8.125 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3468, allocations: 57.61 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3468, allocations: 4 kB / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3468, allocations: 0 / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3468, allocations: 0 / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.3469, allocations: 23.97 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.3473, allocations: 236.5 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.3475, allocations: 62.61 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.3475, allocations: 20.84 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3475, allocations: 0 / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.3477, allocations: 71.39 kB / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3477, allocations: 0 / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000655/0.3484, allocations: 185.3 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3484, allocations: 55.41 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.3487, allocations: 222.6 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3487, allocations: 29.7 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.3488, allocations: 108.1 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3488, allocations: 15.86 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3488, allocations: 29.7 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.349, allocations: 326.8 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.349, allocations: 31.92 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.3491, allocations: 45.58 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3492, allocations: 61.78 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3492, allocations: 0 / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.3494, allocations: 105.5 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3495, allocations: 4 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3495, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3495, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.3496, allocations: 20.36 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3496, allocations: 4.031 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.3496, allocations: 8 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3496, allocations: 4 kB / 0.5666 GB, free: 14.38 MB / 414.1 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 (10): * Single equations (assignments): 10 * 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.0001146/0.3498, allocations: 133.7 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.3498, allocations: 11.91 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.35, allocations: 127 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.35, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.35, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3501, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.3505, allocations: 358.9 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3505, allocations: 0 / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.3506, allocations: 11.98 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3506, allocations: 0 / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3506, allocations: 4 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3506, allocations: 0 / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.3506, allocations: 3.938 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3508, allocations: 216.5 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.3509, allocations: 11.94 kB / 0.5674 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3509, allocations: 4.094 kB / 0.5674 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.351, allocations: 11.97 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.351, allocations: 11.92 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.351, allocations: 4 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3512, allocations: 159.2 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3514, allocations: 23.98 kB / 0.5676 GB, free: 13.23 MB / 414.1 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 (9): * Single equations (assignments): 7 * 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.0019/0.3533, allocations: 496.5 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3535, allocations: 67.94 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3535, allocations: 0 / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.3536, allocations: 23.94 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.354, allocations: 37.41 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.3545, allocations: 251 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.3546, allocations: 96.69 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.3546, allocations: 20.95 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.3547, allocations: 15.44 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3547, allocations: 0 / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005579/0.3603, allocations: 1.907 MB / 0.5704 GB, free: 10.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.265941943973303]