Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001637/0.001637, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001993/0.001993, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.425/1.425, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2272/0.2272, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") [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.00225/0.00225, allocations: 83.86 kB / 0.4969 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2919, allocations: 65.99 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003415/0.2954, allocations: 1.757 MB / 0.563 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.2972, allocations: 1.064 MB / 0.5641 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.2973, allocations: 0 / 0.5641 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.2976, allocations: 83.69 kB / 0.5641 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.2979, allocations: 119.6 kB / 0.5643 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.2981, allocations: 79.67 kB / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.2983, allocations: 123.6 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.2984, allocations: 19.89 kB / 0.5645 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2985, allocations: 55.78 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2986, allocations: 59.8 kB / 0.5646 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2986, allocations: 4 kB / 0.5646 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2987, allocations: 59.98 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.2988, allocations: 27.84 kB / 0.5647 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.2989, allocations: 39.73 kB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.2991, allocations: 146.2 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2991, allocations: 0 / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2991, allocations: 0 / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.2991, allocations: 0 / 0.5648 GB, free: 1.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000594/0.2997, allocations: 450.4 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2998, allocations: 8.031 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.2998, allocations: 12.84 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3001, allocations: 216.1 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3001, allocations: 384 / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3001, allocations: 12.38 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3003, allocations: 73.89 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3003, allocations: 0 / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3003, allocations: 0 / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3003, allocations: 0 / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.3004, allocations: 19.98 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3008, allocations: 304.8 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.301, allocations: 66.48 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.3011, allocations: 24.97 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3011, allocations: 0 / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3013, allocations: 67.39 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.367e-06/0.3013, allocations: 3.984 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000745/0.302, allocations: 253.2 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3021, allocations: 55.41 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3023, allocations: 215.4 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3023, allocations: 33.64 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.3024, allocations: 108.1 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3024, allocations: 31.73 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.3025, allocations: 29.7 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3027, allocations: 334.8 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.3027, allocations: 27.98 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.3028, allocations: 45.7 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.303, allocations: 73.7 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.303, allocations: 4 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.3032, allocations: 133.6 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3032, allocations: 14.36 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3032, allocations: 3.938 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3032, allocations: 0 / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.3033, allocations: 23.94 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3033, allocations: 0 / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3034, allocations: 3.984 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.3034, allocations: 11.94 kB / 0.5674 GB, free: 14.52 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 (13): * Single equations (assignments): 13 * 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.0001134/0.3035, allocations: 128.7 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3035, allocations: 19.89 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.3038, allocations: 151.7 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3038, allocations: 0 / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3038, allocations: 0 / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3039, allocations: 89.05 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3039, allocations: 7.938 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.304, allocations: 3.938 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.304, allocations: 11.98 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002604/0.3043, allocations: 192.9 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000315/0.3046, allocations: 310.5 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.546e-05/0.3046, allocations: 31.98 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3048, allocations: 169.1 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Backend: time 3.9e-07/0.3048, allocations: 0 / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.307, allocations: 0.5408 MB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007355/0.3077, allocations: 0.7051 MB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Templates: time 0.005258/0.313, allocations: 2.134 MB / 0.5718 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.790335291065276]