Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.001412/0.001412, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001639/0.001639, allocations: 209.6 kB / 25.13 MB, free: 3.605 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.493/1.493, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.234/0.234, allocations: 46.94 MB / 362 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46") [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.002353/0.002353, allocations: 79.86 kB / 0.4979 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3418, allocations: 66.08 MB / 0.5624 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003245/0.345, allocations: 1.733 MB / 0.5641 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3468, allocations: 1.049 MB / 0.5651 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.3469, allocations: 7.938 kB / 0.5651 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.3473, allocations: 51.75 kB / 0.5652 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.3476, allocations: 107.5 kB / 0.5653 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3478, allocations: 79.67 kB / 0.5653 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.348, allocations: 107.7 kB / 0.5655 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3481, allocations: 4 kB / 0.5655 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3482, allocations: 43.73 kB / 0.5655 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.3483, allocations: 43.77 kB / 0.5655 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3484, allocations: 4 kB / 0.5655 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3485, allocations: 39.98 kB / 0.5656 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.3485, allocations: 27.86 kB / 0.5656 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.3486, allocations: 43.69 kB / 0.5656 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3489, allocations: 145.9 kB / 0.5658 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3489, allocations: 0 / 0.5658 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3489, allocations: 3.938 kB / 0.5658 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3489, allocations: 0 / 0.5658 GB, free: 0.7852 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.0006119/0.3495, allocations: 381.2 kB / 0.5662 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3495, allocations: 12.03 kB / 0.5662 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.3496, allocations: 12.84 kB / 0.5662 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3499, allocations: 163.3 kB / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3499, allocations: 4.375 kB / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3499, allocations: 384 / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3501, allocations: 57.98 kB / 0.5664 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3501, allocations: 3.984 kB / 0.5664 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3501, allocations: 0 / 0.5664 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3501, allocations: 4 kB / 0.5664 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.3502, allocations: 19.92 kB / 0.5664 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.3506, allocations: 275.9 kB / 0.5667 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3508, allocations: 58.67 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.3509, allocations: 16.86 kB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3509, allocations: 7.984 kB / 0.5668 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3511, allocations: 71.33 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3511, allocations: 0 / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005729/0.3516, allocations: 177.3 kB / 0.567 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3517, allocations: 59.39 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.352, allocations: 270.8 kB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.352, allocations: 29.7 kB / 0.5673 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.3521, allocations: 116.1 kB / 0.5675 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3521, allocations: 27.78 kB / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.3522, allocations: 29.7 kB / 0.5675 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3523, allocations: 330.8 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.3524, allocations: 23.98 kB / 0.5678 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.3524, allocations: 33.7 kB / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.3525, allocations: 53.66 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3525, allocations: 0 / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.3527, allocations: 113.5 kB / 0.568 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3528, allocations: 11.94 kB / 0.5681 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3528, allocations: 0 / 0.5681 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3528, allocations: 0 / 0.5681 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.3529, allocations: 19.92 kB / 0.5681 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3529, allocations: 4.188 kB / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.3529, allocations: 0 / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3529, allocations: 7.938 kB / 0.5681 GB, free: 14.23 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.0001204/0.353, allocations: 141.8 kB / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3531, allocations: 15.91 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.3533, allocations: 127.1 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3533, allocations: 3.984 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3533, allocations: 0 / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3534, allocations: 0 / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.3538, allocations: 378.3 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3538, allocations: 0 / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.3538, allocations: 16.02 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3538, allocations: 0 / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3539, allocations: 4.375 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3539, allocations: 7.938 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3539, allocations: 4 kB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3541, allocations: 212.2 kB / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3542, allocations: 11.91 kB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3542, allocations: 4 kB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.3542, allocations: 11.92 kB / 0.569 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3543, allocations: 8 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3543, allocations: 3.984 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.3545, allocations: 200.6 kB / 0.5692 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 0.5692 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.3548, allocations: 27.92 kB / 0.5692 GB, free: 12.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001725/0.3565, allocations: 459.5 kB / 0.5696 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3567, allocations: 55.92 kB / 0.5697 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3567, allocations: 0 / 0.5697 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.3568, allocations: 27.92 kB / 0.5697 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3571, allocations: 32.41 kB / 0.5698 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.3576, allocations: 287.6 kB / 0.57 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3581, allocations: 0.7197 MB / 0.5707 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.3582, allocations: 20.95 kB / 0.5708 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.3582, allocations: 15.44 kB / 0.5708 GB, free: 11.49 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3582, allocations: 0 / 0.5708 GB, free: 11.49 MB / 414.1 MB Notification: Performance of Templates: time 0.005131/0.3633, allocations: 1.818 MB / 0.5725 GB, free: 9.688 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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: 5.123229092918336]