Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.001294/0.001294, allocations: 114 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.001407/0.001407, allocations: 214.1 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.418/1.418, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2641/0.2641, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40") [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.002343/0.002343, allocations: 83.86 kB / 0.4969 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 65.99 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003182/0.3179, allocations: 1.741 MB / 0.563 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3198, allocations: 1.041 MB / 0.564 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.3198, allocations: 0 / 0.564 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.3202, allocations: 87.7 kB / 0.5641 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.3206, allocations: 119.5 kB / 0.5642 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.3208, allocations: 79.66 kB / 0.5643 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.321, allocations: 119.7 kB / 0.5644 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3211, allocations: 4 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3212, allocations: 55.77 kB / 0.5645 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3214, allocations: 59.81 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3214, allocations: 4 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3215, allocations: 47.98 kB / 0.5646 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3215, allocations: 27.84 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.3216, allocations: 39.67 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3218, allocations: 126.2 kB / 0.5648 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3218, allocations: 0 / 0.5648 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3219, allocations: 0 / 0.5648 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3219, allocations: 3.938 kB / 0.5648 GB, free: 1.453 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.0007224/0.3226, allocations: 426.6 kB / 0.5652 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3226, allocations: 8.031 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.3227, allocations: 20.83 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.3231, allocations: 232 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3231, allocations: 384 / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3231, allocations: 4.375 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3233, allocations: 57.98 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3233, allocations: 0 / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3233, allocations: 0 / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3233, allocations: 0 / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.3234, allocations: 19.98 kB / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3238, allocations: 292.9 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.324, allocations: 58.61 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.324, allocations: 16.86 kB / 0.5658 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3241, allocations: 3.984 kB / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3242, allocations: 71.39 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3242, allocations: 0 / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.3249, allocations: 185.3 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3249, allocations: 59.41 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3251, allocations: 227.3 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3252, allocations: 29.64 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.3253, allocations: 108.1 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3253, allocations: 31.78 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3253, allocations: 21.66 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3255, allocations: 330.8 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.3256, allocations: 19.98 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.3256, allocations: 37.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3257, allocations: 61.7 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3258, allocations: 0 / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.326, allocations: 105.5 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.326, allocations: 6.5 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.326, allocations: 0 / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.326, allocations: 4 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.3261, allocations: 15.98 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3261, allocations: 3.938 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.3261, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3261, allocations: 0 / 0.5671 GB, free: 14.8 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.0001202/0.3263, allocations: 137.8 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3263, allocations: 15.91 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.3266, allocations: 115 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3266, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3266, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.3267, allocations: 85.06 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3267, allocations: 7.922 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.3267, allocations: 7.938 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3268, allocations: 8 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002305/0.327, allocations: 172.9 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002892/0.3273, allocations: 275 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.764e-05/0.3274, allocations: 31.98 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3275, allocations: 173.1 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.3275, allocations: 0 / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3297, allocations: 484.5 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008314/0.3305, allocations: 0.7065 MB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Templates: time 0.005347/0.3358, allocations: 1.819 MB / 0.571 GB, free: 10.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.91332096979022]