Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 46.98 MB / 361.6 MB, free: 4.094 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.89 kB / 0.4973 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3167, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003124/0.3198, allocations: 1.64 MB / 0.5634 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.321, allocations: 0.5349 MB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.321, allocations: 4 kB / 0.564 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.3212, allocations: 35.77 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.3215, allocations: 87.61 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.3219, allocations: 115.3 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.322, allocations: 95.75 kB / 0.5643 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3222, allocations: 23.64 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.3222, allocations: 39.78 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.3223, allocations: 43.78 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3223, allocations: 8 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.3224, allocations: 43.97 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.3225, allocations: 23.92 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3225, allocations: 23.81 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3228, allocations: 114.4 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3228, allocations: 0 / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3228, allocations: 0 / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3228, allocations: 0 / 0.5646 GB, free: 1.305 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005086/0.3233, allocations: 333.7 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3233, allocations: 12.03 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3234, allocations: 16.78 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3236, allocations: 150.3 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3236, allocations: 8.312 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3236, allocations: 8.375 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3238, allocations: 77.78 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3238, allocations: 0 / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3238, allocations: 4 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3238, allocations: 0 / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.324, allocations: 39.97 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.3244, allocations: 276.3 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3246, allocations: 66.55 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.3246, allocations: 24.84 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3247, allocations: 3.984 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3247, allocations: 30.56 kB / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3247, allocations: 0 / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001214/0.3259, allocations: 333.2 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3259, allocations: 55.34 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3261, allocations: 168.6 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3261, allocations: 25.7 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.3262, allocations: 108 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3263, allocations: 43.78 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3263, allocations: 29.72 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3265, allocations: 322.8 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3266, allocations: 47.97 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3267, allocations: 44.09 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3269, allocations: 108.8 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3269, allocations: 0 / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003033/0.3272, allocations: 165.2 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3272, allocations: 4 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3272, allocations: 3.938 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3272, allocations: 4 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3274, allocations: 27.98 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.3274, allocations: 0 / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.3274, allocations: 8 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3274, allocations: 11.98 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001163/0.3276, allocations: 125.8 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.3276, allocations: 7.953 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.328, allocations: 182.7 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.328, allocations: 4 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.328, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.328, allocations: 7.984 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.3287, allocations: 422.8 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3287, allocations: 4 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.3288, allocations: 23.98 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3288, allocations: 0 / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3288, allocations: 7.938 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3288, allocations: 4.031 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3288, allocations: 0 / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.3292, allocations: 264.1 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.3292, allocations: 3.953 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3292, allocations: 8 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.3293, allocations: 7.984 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3293, allocations: 11.98 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/0.3293, allocations: 4 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3294, allocations: 124.9 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3294, allocations: 4 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.3297, allocations: 31.88 kB / 0.5682 GB, free: 13.33 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001934/0.3317, allocations: 491.8 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.332, allocations: 111.8 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.332, allocations: 4 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3321, allocations: 55.89 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3325, allocations: 16 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.333, allocations: 263.4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.968e-05/0.3331, allocations: 97.44 kB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.319e-05/0.3332, allocations: 36.31 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3333, allocations: 19.44 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3333, allocations: 0 / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Templates: time 0.004833/0.3381, allocations: 1.671 MB / 0.5709 GB, free: 10.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.026978260997566]