Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0009562/0.0009562, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001046/0.001046, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9154/0.9154, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] 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.1378/0.1378, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.286e-05, allocations: 10.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002526/0.002548, allocations: 1.713 MB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.003268, allocations: 0.5724 MB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.003325, allocations: 4 kB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.003508, allocations: 39.64 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.003715, allocations: 79.56 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.003968, allocations: 175.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.004091, allocations: 103.7 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.00417, allocations: 11.98 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.004237, allocations: 55.83 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.004292, allocations: 35.89 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.004307, allocations: 8 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.004417, allocations: 99.75 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.004459, allocations: 19.92 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.004483, allocations: 31.91 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004661, allocations: 155.5 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004663, allocations: 0 / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004664, allocations: 0 / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004669, allocations: 4 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003613/0.00503, allocations: 459.8 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.005063, allocations: 12.03 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.005099, allocations: 8.891 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005231, allocations: 145 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.005242, allocations: 4.375 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.005261, allocations: 4.359 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005396, allocations: 123.7 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005406, allocations: 3.984 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.005414, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005419, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.005447, allocations: 15.97 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.005723, allocations: 300.2 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.533e-05/0.005808, allocations: 39.05 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.005827, allocations: 15.62 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.005843, allocations: 4 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.005858, allocations: 41.52 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.005859, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003743/0.006233, allocations: 153.3 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.006255, allocations: 81.11 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.006333, allocations: 208.5 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.00634, allocations: 29.7 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.006371, allocations: 150.8 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.006388, allocations: 27.75 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.006421, allocations: 35.36 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.00646, allocations: 0.4961 MB / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.00648, allocations: 8 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.006513, allocations: 61.09 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.006557, allocations: 39.59 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006558, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.614e-05/0.006644, allocations: 77.58 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.006654, allocations: 8 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006658, allocations: 0 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.006667, allocations: 0 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.006757, allocations: 23.98 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.00676, allocations: 32 / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.006802, allocations: 24.3 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006809, allocations: 4 kB / 385 MB, free: 17.48 MB / 314.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 (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 4.562e-05/0.006855, allocations: 164.5 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.00688, allocations: 19.84 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.006983, allocations: 82.44 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006985, allocations: 4 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.006987, allocations: 4 kB / 385.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00699, allocations: 0 / 385.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.007209, allocations: 345.8 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007211, allocations: 3.984 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.007272, allocations: 27.98 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007274, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.007279, allocations: 4 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00728, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007281, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.03e-05/0.007371, allocations: 231.7 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.007381, allocations: 11.94 kB / 385.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.007394, allocations: 0 / 385.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/0.00745, allocations: 19.98 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.007483, allocations: 7.984 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.007488, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.007523, allocations: 162.3 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007523, allocations: 0 / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.007719, allocations: 51.86 kB / 386.1 MB, free: 16.29 MB / 314.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 (9): * Single equations (assignments): 9 * 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.0009878/0.008707, allocations: 0.4997 MB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.008829, allocations: 51.59 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.008831, allocations: 0 / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.008864, allocations: 23.67 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.009088, allocations: 29.06 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.00938, allocations: 227 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.009406, allocations: 75.19 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.009459, allocations: 12.48 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.009531, allocations: 98.19 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009532, allocations: 0 / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004005/0.01354, allocations: 3.043 MB / 390.1 MB, free: 12.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1628355938009918]