Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2259/0.2259, allocations: 46.9 MB / 361.1 MB, free: 4.613 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4968 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3256, allocations: 66 MB / 0.5613 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003183/0.3288, allocations: 1.741 MB / 0.563 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3305, allocations: 1.049 MB / 0.564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.3306, allocations: 0 / 0.564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3309, allocations: 43.77 kB / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.3312, allocations: 99.53 kB / 0.5642 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3314, allocations: 79.66 kB / 0.5642 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.3316, allocations: 103.7 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.3316, allocations: 4 kB / 0.5643 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.3317, allocations: 55.77 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.3318, allocations: 27.86 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3318, allocations: 4 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.3319, allocations: 39.98 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.332, allocations: 23.91 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.3321, allocations: 39.67 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3323, allocations: 122.2 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3323, allocations: 4 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3323, allocations: 0 / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.3323, allocations: 3.938 kB / 0.5646 GB, free: 1.52 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.0005773/0.3329, allocations: 422.7 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3329, allocations: 8.031 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3329, allocations: 12.89 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3332, allocations: 212.8 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3332, allocations: 384 / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3333, allocations: 12.31 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3334, allocations: 53.98 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3334, allocations: 3.938 kB / 0.5653 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3334, allocations: 4 kB / 0.5653 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.3334, allocations: 4 kB / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.3335, allocations: 19.98 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3339, allocations: 280.9 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3341, allocations: 58.61 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.3341, allocations: 24.84 kB / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3342, allocations: 4 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.3343, allocations: 59.39 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3343, allocations: 0 / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005414/0.3349, allocations: 185.3 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3349, allocations: 51.41 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3351, allocations: 194.4 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3351, allocations: 37.64 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3352, allocations: 100.1 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.3352, allocations: 27.78 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.3353, allocations: 25.7 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3354, allocations: 330.8 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.3355, allocations: 15.94 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.3356, allocations: 37.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3357, allocations: 65.7 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3357, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.3359, allocations: 101.5 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3359, allocations: 6.344 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3359, allocations: 3.984 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3359, allocations: 4 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.336, allocations: 16.38 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.336, allocations: 32 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.3361, allocations: 12 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3361, allocations: 0 / 0.5669 GB, free: 14.94 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.0001119/0.3362, allocations: 137.7 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3362, allocations: 11.91 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3364, allocations: 115.2 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3365, allocations: 3.984 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3365, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.3365, allocations: 85.06 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3365, allocations: 16.17 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.3366, allocations: 3.938 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.3366, allocations: 7.938 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002269/0.3368, allocations: 176.9 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002748/0.3371, allocations: 274.7 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.146e-05/0.3372, allocations: 19.98 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3373, allocations: 156.2 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Backend: time 2.81e-07/0.3373, allocations: 3.938 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.3393, allocations: 487.3 kB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006973/0.34, allocations: 0.6784 MB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.005034/0.345, allocations: 1.803 MB / 0.5708 GB, free: 11.06 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.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: 4.761627993080765]