Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0009986/0.0009986, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001076/0.001076, allocations: 162.9 kB / 24.99 MB, free: 9.273 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.309/0.309, allocations: 34.26 MB / 296 MB, free: 0.7578 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.138e-05, allocations: 2.312 kB / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003353/0.003385, allocations: 1.649 MB / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.005159, allocations: 1.278 MB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.795e-05/0.005247, allocations: 4 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.005516, allocations: 19.77 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.005908, allocations: 87.44 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.006231, allocations: 95.69 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.006419, allocations: 83.69 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.006542, allocations: 12 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.006628, allocations: 39.89 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.006751, allocations: 31.91 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.00677, allocations: 4 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.006969, allocations: 83.89 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.007029, allocations: 27.91 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.00707, allocations: 15.92 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.007369, allocations: 143.4 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.007374, allocations: 0 / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007375, allocations: 0 / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.007381, allocations: 0 / 381.6 MB, free: 15.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005798/0.00796, allocations: 432 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.008007, allocations: 8.031 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.008074, allocations: 20.89 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.008321, allocations: 148.4 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.008334, allocations: 384 / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.008368, allocations: 8.375 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.008577, allocations: 108 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.00859, allocations: 192 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.008608, allocations: 8.125 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.008617, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.008672, allocations: 15.98 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.009087, allocations: 291.6 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.009185, allocations: 55.05 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.009218, allocations: 19.62 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.009241, allocations: 0 / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.009269, allocations: 33.39 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.00927, allocations: 3.938 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005362/0.009806, allocations: 133.5 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.009859, allocations: 81.11 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.01003, allocations: 199.8 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.01005, allocations: 29.7 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.01012, allocations: 146.8 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.01015, allocations: 31.8 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.0102, allocations: 31.38 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01036, allocations: 0.4923 MB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.01039, allocations: 7.984 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.01045, allocations: 53.08 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.01052, allocations: 39.61 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.01052, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001385/0.01066, allocations: 73.58 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01068, allocations: 8 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01068, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.0107, allocations: 4.031 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01081, allocations: 15.98 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01082, allocations: 0 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.01085, allocations: 8 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.01086, allocations: 4 kB / 384.1 MB, free: 12.65 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 (8): * Single equations (assignments): 8 * 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 9.035e-05/0.01095, allocations: 156.5 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.01099, allocations: 15.95 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.01119, allocations: 90.67 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.0112, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.0112, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01121, allocations: 4 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.01164, allocations: 365.4 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01165, allocations: 3.938 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.01172, allocations: 15.98 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01172, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01173, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01173, allocations: 4.375 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01174, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.01193, allocations: 223.8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01195, allocations: 11.95 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.01197, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.01204, allocations: 11.94 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.01209, allocations: 7.984 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.01209, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.0122, allocations: 155.2 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0122, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.01254, allocations: 43.81 kB / 385.2 MB, free: 11.48 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 (8): * Single equations (assignments): 8 * 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.001409/0.01395, allocations: 496.1 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.01412, allocations: 39.67 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01412, allocations: 0 / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.01416, allocations: 27.61 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.01451, allocations: 23.98 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.01505, allocations: 190.3 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.01511, allocations: 63.34 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.01518, allocations: 17.03 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.01522, allocations: 20.48 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01522, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.005366/0.02059, allocations: 1.908 MB / 387.9 MB, free: 8.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.346534537849948]