Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.001251/0.001251, 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.001383/0.001383, allocations: 212.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.438/1.438, 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.2247/0.2247, allocations: 46.9 MB / 361.1 MB, free: 4.605 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") [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.00243/0.00243, allocations: 79.88 kB / 0.4968 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 65.98 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003063/0.3179, allocations: 1.71 MB / 0.5629 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3196, allocations: 1.021 MB / 0.5639 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.3197, allocations: 0 / 0.5639 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.32, allocations: 67.73 kB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3203, allocations: 107.6 kB / 0.5641 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3205, allocations: 79.66 kB / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3207, allocations: 107.6 kB / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.3207, allocations: 240 / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3208, allocations: 51.77 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3209, allocations: 51.77 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3209, allocations: 7.984 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.321, allocations: 31.98 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.3211, allocations: 19.86 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.3211, allocations: 31.81 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3213, allocations: 114.2 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3213, allocations: 0 / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3213, allocations: 0 / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3213, allocations: 0 / 0.5646 GB, free: 1.594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005661/0.3219, allocations: 414.6 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3219, allocations: 8.031 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.322, allocations: 12.84 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3223, allocations: 216.9 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3223, allocations: 4.375 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3223, allocations: 384 / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3225, allocations: 49.98 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3225, allocations: 0 / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3225, allocations: 7.984 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3225, allocations: 0 / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.3225, allocations: 19.92 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.3227, allocations: 181.6 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3229, allocations: 58.61 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.323, allocations: 12.86 kB / 0.5655 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.323, allocations: 7.984 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.3231, allocations: 63.33 kB / 0.5656 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3231, allocations: 3.938 kB / 0.5656 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002773/0.3234, allocations: 97.62 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3234, allocations: 51.41 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3236, allocations: 194.4 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.3237, allocations: 29.7 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.3237, allocations: 100.1 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3238, allocations: 15.91 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3238, allocations: 17.72 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3239, allocations: 326.8 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.324, allocations: 15.98 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.3241, allocations: 25.7 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.3241, allocations: 41.91 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.3242, allocations: 11.94 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001605/0.3243, allocations: 89.52 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3243, allocations: 15.91 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3243, allocations: 4 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3244, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.3244, allocations: 8 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3244, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.3245, allocations: 4 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3245, allocations: 0 / 0.5666 GB, free: 15.29 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 (7): * Single equations (assignments): 7 * 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.0001079/0.3246, allocations: 132.4 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3246, allocations: 11.89 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.3248, allocations: 94.61 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3248, allocations: 3.984 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3248, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.3249, allocations: 93.02 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3249, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.325, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.325, allocations: 7.984 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002012/0.3252, allocations: 156.9 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002432/0.3254, allocations: 258.7 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.763e-05/0.3255, allocations: 20 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3256, allocations: 152.2 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.3256, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.3274, allocations: 419.8 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007213/0.3282, allocations: 0.6733 MB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of Templates: time 0.004742/0.3329, allocations: 1.542 MB / 0.57 GB, free: 11.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.809965575579554]