Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.001895/0.001895, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.002257/0.002257, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.247/0.247, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/3.866e-05, allocations: 6.25 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.002833/0.002871, allocations: 1.561 MB / 348.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.003551, allocations: 327.3 kB / 348.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.003605, allocations: 4 kB / 348.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.003928, allocations: 115.7 kB / 348.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.004113, allocations: 71.72 kB / 349 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.004376, allocations: 95.73 kB / 349.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.004526, allocations: 71.83 kB / 349.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004635, allocations: 11.97 kB / 349.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.004722, allocations: 43.84 kB / 349.2 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004844, allocations: 67.91 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.004866, allocations: 4 kB / 349.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.004937, allocations: 31.92 kB / 349.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.004994, allocations: 23.86 kB / 349.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.005034, allocations: 15.94 kB / 349.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.005194, allocations: 95.64 kB / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.005198, allocations: 0 / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005199, allocations: 0 / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005204, allocations: 0 / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000429/0.005633, allocations: 341.5 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.005672, allocations: 16.03 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.005722, allocations: 12.89 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005861, allocations: 137.6 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.005872, allocations: 4.375 kB / 350 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.0059, allocations: 384 / 350 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.006028, allocations: 50.23 kB / 350 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.006044, allocations: 192 / 350 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.006057, allocations: 4.125 kB / 350 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.006062, allocations: 4 kB / 350 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.006156, allocations: 23.92 kB / 350 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.006466, allocations: 240.6 kB / 350.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.006678, allocations: 42.56 kB / 350.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.006729, allocations: 20.94 kB / 350.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.006756, allocations: 7.938 kB / 350.3 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.006774, allocations: 34.5 kB / 350.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.006774, allocations: 0 / 350.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006228/0.007397, allocations: 165.3 kB / 350.5 MB, free: 6.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.007435, allocations: 55.34 kB / 350.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.007629, allocations: 242.8 kB / 350.8 MB, free: 5.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.007639, allocations: 25.7 kB / 350.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.007694, allocations: 112.1 kB / 351 MB, free: 5.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.007715, allocations: 7.906 kB / 351 MB, free: 5.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.007748, allocations: 21.7 kB / 351 MB, free: 5.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.007827, allocations: 326.8 kB / 351.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.007895, allocations: 19.98 kB / 351.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.007949, allocations: 23.98 kB / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.008079, allocations: 48.83 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.008079, allocations: 0 / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.008239, allocations: 101.4 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008253, allocations: 4 kB / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.008259, allocations: 256 / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.008278, allocations: 7.938 kB / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.008334, allocations: 15.98 kB / 351.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.008341, allocations: 4 kB / 351.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.008379, allocations: 8 kB / 351.5 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.008385, allocations: 0 / 351.5 MB, free: 5 MB / 282.7 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 (5): * Single equations (assignments): 5 * 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 7.205e-05/0.008457, allocations: 133.8 kB / 351.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.008488, allocations: 11.89 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.008706, allocations: 110.7 kB / 351.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.008708, allocations: 288 / 351.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.008714, allocations: 0 / 351.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.008718, allocations: 3.984 kB / 351.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.009063, allocations: 314.1 kB / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009064, allocations: 0 / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.009112, allocations: 11.98 kB / 352.1 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009115, allocations: 4 kB / 352.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.009124, allocations: 0 / 352.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009125, allocations: 0 / 352.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.009125, allocations: 0 / 352.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.009315, allocations: 199.3 kB / 352.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.009327, allocations: 7.906 kB / 352.3 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.009346, allocations: 4 kB / 352.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.009411, allocations: 192 / 352.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.009459, allocations: 7.984 kB / 352.3 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.009463, allocations: 4 kB / 352.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.009586, allocations: 192.3 kB / 352.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009586, allocations: 0 / 352.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.009825, allocations: 8 kB / 352.5 MB, free: 3.938 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001903/0.01173, allocations: 428.8 kB / 353 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01194, allocations: 51.91 kB / 353 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01194, allocations: 0 / 353 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.01201, allocations: 27.97 kB / 353 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.01241, allocations: 32.61 kB / 353.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.0129, allocations: 256.9 kB / 353.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.612e-05/0.01297, allocations: 100.3 kB / 353.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.01303, allocations: 20.22 kB / 353.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.01306, allocations: 16.44 kB / 353.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01306, allocations: 0 / 353.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of Templates: time 0.004017/0.01708, allocations: 1.16 MB / 354.6 MB, free: 1.922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.033453999902122]