Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001113/0.001113, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001004/0.001004, allocations: 165.4 kB / 24.56 MB, free: 16 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.9643/0.9643, allocations: 177.1 MB / 205 MB, free: 5.301 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.282/0.282, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.596e-05, allocations: 5.969 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002266/0.002292, allocations: 1.638 MB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000836/0.003128, allocations: 0.5376 MB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.003177, allocations: 0 / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.003376, allocations: 39.7 kB / 380.3 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.003632, allocations: 67.7 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.003869, allocations: 123.5 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.004002, allocations: 63.83 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.004086, allocations: 11.98 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.004135, allocations: 31.86 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.004189, allocations: 19.91 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.004204, allocations: 4 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.004272, allocations: 31.98 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.00431, allocations: 11.94 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.004336, allocations: 11.92 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.004481, allocations: 75.89 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004483, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004484, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004488, allocations: 0 / 380.7 MB, free: 15.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003705/0.004858, allocations: 408.2 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.004895, allocations: 11.97 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.004943, allocations: 12.88 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.005074, allocations: 136.5 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.005083, allocations: 384 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.005103, allocations: 8.375 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.005204, allocations: 50.95 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.005214, allocations: 4.188 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.005224, allocations: 8.125 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005231, allocations: 0 / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.005258, allocations: 7.984 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.005524, allocations: 275.8 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.005674, allocations: 39.05 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.005693, allocations: 11.69 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.005709, allocations: 3.938 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.005733, allocations: 41.39 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.005735, allocations: 4 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003379/0.006072, allocations: 105.5 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.006101, allocations: 55.39 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.006203, allocations: 204 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006214, allocations: 29.7 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.006263, allocations: 142.9 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.006283, allocations: 19.8 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.00631, allocations: 23.38 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.006434, allocations: 0.4923 MB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.006452, allocations: 4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.006468, allocations: 8 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.006515, allocations: 27.67 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006516, allocations: 0 / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.233e-05/0.006598, allocations: 61.58 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.006613, allocations: 9.875 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006618, allocations: 3.938 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.006632, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.006679, allocations: 8 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.006686, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.006705, allocations: 7.984 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.006711, allocations: 4 kB / 382.9 MB, free: 13.57 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 7.333e-05/0.006784, allocations: 160.6 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.006809, allocations: 11.89 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.006914, allocations: 66.12 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006916, allocations: 4 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006919, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006923, allocations: 288 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.007151, allocations: 321.7 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007153, allocations: 64 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.007185, allocations: 15.98 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007187, allocations: 7.984 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007194, allocations: 4 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007196, allocations: 0 / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007197, allocations: 0 / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007299, allocations: 211.8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007308, allocations: 7.953 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.00732, allocations: 7.984 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.863e-05/0.007349, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.007376, allocations: 7.938 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.007379, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.489e-05/0.007434, allocations: 147.2 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007434, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.007586, allocations: 16 kB / 383.9 MB, free: 12.52 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.0008099/0.008396, allocations: 378.8 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.008488, allocations: 31.61 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.00849, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.008511, allocations: 19.69 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.008711, allocations: 23.86 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.009002, allocations: 182.6 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.009038, allocations: 59.34 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.00907, allocations: 15.98 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.009096, allocations: 12.5 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009096, allocations: 4 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Templates: time 0.002892/0.01199, allocations: 1.262 MB / 385.9 MB, free: 10.63 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.112636609002948]