Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.001641/0.001641, allocations: 114.3 kB / 21.18 MB, free: 0.6211 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.001978/0.001978, allocations: 212.9 kB / 24.48 MB, free: 4.031 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.504 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.2261/0.2261, allocations: 46.88 MB / 361.1 MB, free: 4.738 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38") [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.002293/0.002293, allocations: 79.88 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3243, allocations: 65.98 MB / 0.5613 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003177/0.3274, allocations: 1.708 MB / 0.5629 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3292, allocations: 1.025 MB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.3292, allocations: 0 / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.3295, allocations: 63.73 kB / 0.564 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3298, allocations: 107.6 kB / 0.5641 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.33, allocations: 75.67 kB / 0.5642 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3302, allocations: 107.7 kB / 0.5643 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.3302, allocations: 4.234 kB / 0.5643 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.3303, allocations: 47.78 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3304, allocations: 55.75 kB / 0.5644 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3304, allocations: 3.938 kB / 0.5644 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.3305, allocations: 31.98 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.3306, allocations: 15.92 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.3306, allocations: 31.8 kB / 0.5645 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3308, allocations: 110.4 kB / 0.5646 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3308, allocations: 4 kB / 0.5646 GB, free: 1.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3308, allocations: 0 / 0.5646 GB, free: 1.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3308, allocations: 0 / 0.5646 GB, free: 1.633 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.0005518/0.3314, allocations: 422.6 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3314, allocations: 8.031 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.3315, allocations: 12.84 kB / 0.565 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3317, allocations: 204.9 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3317, allocations: 384 / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3318, allocations: 12.38 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3319, allocations: 49.98 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3319, allocations: 3.938 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3319, allocations: 0 / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3319, allocations: 4 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.332, allocations: 19.92 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.3322, allocations: 181.6 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3324, allocations: 54.61 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.3324, allocations: 16.86 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3324, allocations: 3.984 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.3326, allocations: 67.33 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.3326, allocations: 0 / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003007/0.3329, allocations: 97.56 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3329, allocations: 55.41 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3332, allocations: 190.4 kB / 0.5659 GB, free: 68 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3332, allocations: 29.7 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3332, allocations: 104.1 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3333, allocations: 11.89 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.3333, allocations: 21.72 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3335, allocations: 326.8 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.3335, allocations: 19.98 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.3336, allocations: 29.7 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.642e-05/0.3337, allocations: 45.91 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3337, allocations: 0 / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001885/0.3339, allocations: 89.52 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3339, allocations: 7.938 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3339, allocations: 0 / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3339, allocations: 12.02 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.334, allocations: 8 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.334, allocations: 0 / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.334, allocations: 4 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.334, allocations: 0 / 0.5666 GB, free: 15.33 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.0001059/0.3341, allocations: 129.8 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.3342, allocations: 15.89 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.3344, allocations: 94.59 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3344, allocations: 4 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3344, allocations: 0 / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.3344, allocations: 85.02 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3344, allocations: 4 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.3345, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.3345, allocations: 7.984 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001957/0.3347, allocations: 153 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002484/0.335, allocations: 262.7 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.558e-05/0.335, allocations: 16.25 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3351, allocations: 156.2 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Backend: time 2.8e-07/0.3351, allocations: 0 / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.3369, allocations: 421.4 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 0.000753/0.3376, allocations: 0.6731 MB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Templates: time 0.004397/0.342, allocations: 1.547 MB / 0.57 GB, free: 11.83 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.845868411939591]