Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001365/0.001365, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001538/0.001538, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.964/0.964, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.237e-05, allocations: 2.969 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003872/0.003904, allocations: 1.727 MB / 325 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.00503, allocations: 0.5645 MB / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.005102, allocations: 4 kB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.005326, allocations: 19.84 kB / 325.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.005698, allocations: 91.47 kB / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.006064, allocations: 139.5 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.00625, allocations: 95.62 kB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.006342, allocations: 8.625 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.006463, allocations: 55.88 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.00655, allocations: 27.91 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.006568, allocations: 4 kB / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.006761, allocations: 95.88 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.006827, allocations: 23.91 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.006857, allocations: 23.92 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.007157, allocations: 163.4 kB / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.007162, allocations: 4 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007163, allocations: 0 / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.007167, allocations: 0 / 326.3 MB, free: 6.652 MB / 298.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.000464/0.007631, allocations: 329.4 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.007663, allocations: 8.031 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.007696, allocations: 12.86 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.007843, allocations: 134.1 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.007857, allocations: 8.375 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.007878, allocations: 4.375 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.008029, allocations: 122.1 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.008038, allocations: 0 / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.008045, allocations: 0 / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.008051, allocations: 0 / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.008078, allocations: 11.94 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.008304, allocations: 168.3 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.603e-05/0.00838, allocations: 30.56 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.008397, allocations: 12.86 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.008416, allocations: 8.062 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.008438, allocations: 42.5 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.008439, allocations: 0 / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000355/0.008794, allocations: 145.5 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.00883, allocations: 85.09 kB / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.008918, allocations: 143.2 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.008929, allocations: 25.7 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.008963, allocations: 96.06 kB / 327.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.008982, allocations: 31.73 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.009016, allocations: 29.7 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.009088, allocations: 326.7 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.009106, allocations: 8 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.009144, allocations: 55.34 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.009184, allocations: 29.06 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.009185, allocations: 0 / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.509e-05/0.00926, allocations: 65.61 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.009271, allocations: 4 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009276, allocations: 0 / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.009287, allocations: 0 / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.009376, allocations: 36 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.009379, allocations: 4 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.009418, allocations: 11.98 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.009423, allocations: 0 / 328.2 MB, free: 4.52 MB / 298.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 5.778e-05/0.009481, allocations: 132.5 kB / 328.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.0095, allocations: 7.984 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.009598, allocations: 74.44 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.009601, allocations: 3.984 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.009602, allocations: 0 / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.009604, allocations: 0 / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.009831, allocations: 258.5 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009833, allocations: 0 / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.009889, allocations: 23.98 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.009891, allocations: 0 / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.009897, allocations: 4 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.0099, allocations: 4 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009901, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.485e-05/0.009995, allocations: 155.4 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.01, allocations: 11.94 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.01002, allocations: 4 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.01007, allocations: 20.36 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.0101, allocations: 11.92 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.01011, allocations: 4 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.01015, allocations: 38.69 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01015, allocations: 0 / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.01032, allocations: 51.88 kB / 329 MB, free: 3.672 MB / 298.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.001224/0.01154, allocations: 0.6437 MB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.01163, allocations: 40.78 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01164, allocations: 0 / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.01167, allocations: 28.78 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.01183, allocations: 22.98 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.01214, allocations: 219.2 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.01217, allocations: 63.34 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.01222, allocations: 20.47 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.0123, allocations: 71.36 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of SimCode: time 5e-07/0.0123, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Templates: time 0.00439/0.01669, allocations: 2.763 MB / 332.9 MB, free: 104 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.021422474645078]