Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001407/0.001407, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00155/0.00155, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9725/0.9725, allocations: 177.1 MB / 205 MB, free: 5.617 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.2731/0.2731, allocations: 34.27 MB / 295.7 MB, free: 0.75 MB / 266.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.635e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002175/0.002201, allocations: 1.708 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.002903, allocations: 0.5375 MB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.002965, allocations: 0 / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.003406, allocations: 455.1 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.003774, allocations: 295.2 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.004039, allocations: 131.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.004245, allocations: 171.6 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.004327, allocations: 11.98 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004435, allocations: 119.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.004616, allocations: 243.6 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004632, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.004708, allocations: 35.94 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.004795, allocations: 79.7 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.004835, allocations: 43.73 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.005054, allocations: 195.2 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005056, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005057, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005061, allocations: 0 / 382 MB, free: 14.62 MB / 362.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.0005268/0.005588, allocations: 0.6931 MB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.005621, allocations: 8.031 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.00568, allocations: 52.64 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.005859, allocations: 240.9 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.005868, allocations: 384 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.005886, allocations: 8.375 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005998, allocations: 66.86 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.006008, allocations: 192 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.006016, allocations: 4.125 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.006024, allocations: 4 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.006053, allocations: 8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.006429, allocations: 423.6 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.006581, allocations: 50.92 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.006599, allocations: 11.69 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.006614, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.006635, allocations: 41.39 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.006636, allocations: 4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003461/0.006982, allocations: 184.8 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.007011, allocations: 51.41 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.007394, allocations: 0.6277 MB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.007405, allocations: 29.7 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.007536, allocations: 282.8 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.007556, allocations: 15.83 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.007585, allocations: 27.38 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004037/0.007989, allocations: 0.547 MB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.008007, allocations: 11.98 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.008022, allocations: 8 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.008061, allocations: 31.75 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008062, allocations: 0 / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.153e-05/0.008154, allocations: 93.69 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.008167, allocations: 9.969 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008171, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.008182, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.008227, allocations: 15.98 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008232, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.008257, allocations: 7.984 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.008263, allocations: 8 kB / 385.6 MB, free: 10.88 MB / 362.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 6.894e-05/0.008332, allocations: 160.5 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.008363, allocations: 43.72 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.00849, allocations: 105.2 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.008493, allocations: 4 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.008496, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.008499, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.008815, allocations: 465.3 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008816, allocations: 0 / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.008846, allocations: 12 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.00885, allocations: 3.984 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.008855, allocations: 4 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008857, allocations: 192 / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008859, allocations: 4 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.008973, allocations: 247.7 kB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.008994, allocations: 31.72 kB / 386.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.009012, allocations: 8 kB / 386.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.009048, allocations: 3.938 kB / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.009077, allocations: 7.984 kB / 386.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.00908, allocations: 0 / 386.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.009313, allocations: 430.8 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009314, allocations: 0 / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.00948, allocations: 27.94 kB / 387.1 MB, free: 9.27 MB / 362.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.0007852/0.01027, allocations: 379.7 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01037, allocations: 35.61 kB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01037, allocations: 0 / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.0104, allocations: 23.62 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01063, allocations: 25.95 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.01122, allocations: 0.5666 MB / 388.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/0.01129, allocations: 119.2 kB / 388.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.01132, allocations: 15.97 kB / 388.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.01135, allocations: 16.5 kB / 388.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01135, allocations: 0 / 388.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of Templates: time 0.003918/0.01527, allocations: 1.469 MB / 389.7 MB, free: 6.723 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.144694693852216]