Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.001232/0.001232, 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.001478/0.001478, 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.414/1.414, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2312/0.2312, allocations: 46.89 MB / 361.1 MB, free: 4.602 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") [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.002439/0.002439, allocations: 95.84 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3238, allocations: 65.98 MB / 0.5613 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003207/0.3271, allocations: 1.745 MB / 0.563 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3288, allocations: 1.056 MB / 0.564 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.3289, allocations: 0 / 0.564 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.3292, allocations: 83.7 kB / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.3295, allocations: 111.6 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3297, allocations: 79.67 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3299, allocations: 115.7 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.33, allocations: 8 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3301, allocations: 63.75 kB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3302, allocations: 59.75 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3302, allocations: 4 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.3303, allocations: 43.98 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.3304, allocations: 23.92 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3304, allocations: 43.66 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3307, allocations: 126.2 kB / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3307, allocations: 0 / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3307, allocations: 0 / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3307, allocations: 0 / 0.5648 GB, free: 1.395 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.0006042/0.3313, allocations: 438.5 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3313, allocations: 8.031 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.3313, allocations: 16.84 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3316, allocations: 216.1 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3316, allocations: 384 / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.3317, allocations: 12.36 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3318, allocations: 53.98 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3318, allocations: 0 / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3318, allocations: 8 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.3318, allocations: 0 / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.3319, allocations: 23.92 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3323, allocations: 288.9 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3325, allocations: 54.67 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.3325, allocations: 20.86 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3326, allocations: 7.984 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.3327, allocations: 71.31 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3327, allocations: 0 / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000573/0.3333, allocations: 177.4 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3333, allocations: 55.41 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3336, allocations: 223.4 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3336, allocations: 33.7 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.3337, allocations: 108.1 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3337, allocations: 27.72 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3337, allocations: 25.72 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3339, allocations: 330.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.3339, allocations: 19.98 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.334, allocations: 37.7 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3341, allocations: 69.62 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3341, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.3343, allocations: 101.6 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3343, allocations: 4 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3343, allocations: 0 / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3344, allocations: 7.938 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.3344, allocations: 15.98 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3344, allocations: 4.031 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.3345, allocations: 8 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3345, allocations: 384 / 0.5671 GB, free: 14.73 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.0001124/0.3346, allocations: 132.9 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3346, allocations: 15.91 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3349, allocations: 115 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3349, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3349, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.335, allocations: 85.06 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.335, allocations: 8 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.335, allocations: 11.92 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.3351, allocations: 4 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002217/0.3353, allocations: 176.9 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002734/0.3355, allocations: 270.7 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.64e-05/0.3356, allocations: 28.3 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3358, allocations: 169.1 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.3358, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.3378, allocations: 490.4 kB / 0.5686 GB, free: 13.37 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007226/0.3385, allocations: 0.7064 MB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of Templates: time 0.005081/0.3436, allocations: 1.822 MB / 0.571 GB, free: 10.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.747108090203255]