Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001599/0.001599, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001458/0.001458, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2541/0.2541, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.28e-06, allocations: 4 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.44e-05, allocations: 2.281 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003554/0.003588, allocations: 1.615 MB / 444.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.00493, allocations: 0.5414 MB / 444.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.005024, allocations: 0 / 444.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.005341, allocations: 63.78 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.005776, allocations: 115.4 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.006156, allocations: 118.7 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.006381, allocations: 75.77 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.006523, allocations: 23.97 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.006639, allocations: 39.84 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006771, allocations: 51.88 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.006792, allocations: 0 / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.00692, allocations: 51.91 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.006994, allocations: 19.92 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.007037, allocations: 11.94 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.007304, allocations: 99.69 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007307, allocations: 0 / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007308, allocations: 0 / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.007318, allocations: 4 kB / 445.5 MB, free: 2.543 MB / 366.1 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.0005714/0.00789, allocations: 337.6 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.007931, allocations: 12.03 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.007981, allocations: 8.891 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.008216, allocations: 150.8 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.008223, allocations: 384 / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.008251, allocations: 4.375 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.008414, allocations: 54.23 kB / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.008427, allocations: 192 / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.008439, allocations: 4.125 kB / 446.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.008444, allocations: 8 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.008563, allocations: 27.97 kB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.009018, allocations: 240.5 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.009143, allocations: 46.55 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.009203, allocations: 20.88 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.009227, allocations: 0 / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.00926, allocations: 38.56 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.009261, allocations: 0 / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001063/0.01032, allocations: 241.1 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.01037, allocations: 51.41 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.01062, allocations: 203.3 kB / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.01065, allocations: 29.7 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.01074, allocations: 108.1 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.01078, allocations: 23.8 kB / 447.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.01083, allocations: 25.7 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.01101, allocations: 326.8 kB / 447.4 MB, free: 464 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.792e-05/0.01111, allocations: 31.92 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.01119, allocations: 31.97 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.01138, allocations: 72.89 kB / 447.6 MB, free: 324 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01139, allocations: 3.938 kB / 447.6 MB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003168/0.0117, allocations: 129.7 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.01172, allocations: 4 kB / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01172, allocations: 0 / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01174, allocations: 0 / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.01186, allocations: 19.98 kB / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01186, allocations: 4.062 kB / 447.7 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.01191, allocations: 4 kB / 447.7 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.01192, allocations: 0 / 447.7 MB, free: 152 kB / 366.1 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 0.0001212/0.01204, allocations: 133.8 kB / 447.9 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1973/0.2093, allocations: 11.75 kB / 447.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.2098, allocations: 125 kB / 448 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2098, allocations: 2.781 kB / 448 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2098, allocations: 0.9375 kB / 448 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2099, allocations: 3.844 kB / 448 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.2105, allocations: 358 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2105, allocations: 1.672 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.2106, allocations: 20.73 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2106, allocations: 1.281 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2106, allocations: 1.797 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2106, allocations: 1.125 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2106, allocations: 1.641 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.2109, allocations: 218.4 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.2109, allocations: 12 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2109, allocations: 5.516 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.211, allocations: 4.875 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.2111, allocations: 13.38 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2111, allocations: 2.25 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2112, allocations: 155.1 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 1.031 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.2115, allocations: 26.34 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001935/0.2134, allocations: 493.8 kB / 449.3 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.2137, allocations: 75.95 kB / 449.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2137, allocations: 0 / 449.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2138, allocations: 40 kB / 449.4 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.2142, allocations: 17.75 kB / 449.4 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.2147, allocations: 255.1 kB / 449.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.2148, allocations: 106.5 kB / 449.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.2148, allocations: 18.34 kB / 449.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.2149, allocations: 14.94 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2149, allocations: 3.984 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of Templates: time 0.005326/0.2202, allocations: 1.397 MB / 451.2 MB, free: 18.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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: 4.945915725082159]