Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001798/0.001798, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.002233/0.002233, allocations: 165.3 kB / 24.27 MB, free: 144 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 1.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3465/0.3465, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.211e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003148/0.003181, allocations: 1.66 MB / 376.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.005591, allocations: 1.286 MB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.005646, allocations: 3.938 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.005856, allocations: 19.8 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.00621, allocations: 91.55 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.006671, allocations: 183.4 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.006835, allocations: 75.77 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.006925, allocations: 12 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.007014, allocations: 47.83 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.007141, allocations: 27.89 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.007164, allocations: 8 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.007359, allocations: 87.88 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.007426, allocations: 19.92 kB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.007472, allocations: 15.94 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.007801, allocations: 159.4 kB / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007804, allocations: 0 / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007805, allocations: 4 kB / 379 MB, free: 1.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007809, allocations: 4 kB / 379 MB, free: 1.258 MB / 346.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.0006133/0.008422, allocations: 333.7 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.008459, allocations: 8.031 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.008519, allocations: 12.89 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.008746, allocations: 147.4 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.008759, allocations: 8.312 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.008786, allocations: 4.375 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.009034, allocations: 101.6 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.009047, allocations: 4.188 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.009061, allocations: 4.125 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.009065, allocations: 0 / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.00922, allocations: 39.97 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.009678, allocations: 244.5 kB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.009816, allocations: 38.56 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.009903, allocations: 36.86 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.009931, allocations: 4 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.009971, allocations: 34.56 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.009972, allocations: 0 / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009279/0.0109, allocations: 233.4 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.01097, allocations: 81.19 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.01117, allocations: 145.8 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.01119, allocations: 25.7 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.01127, allocations: 104 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.0113, allocations: 31.73 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.01136, allocations: 21.72 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.01154, allocations: 322.8 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.01167, allocations: 35.97 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01185, allocations: 83.38 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.01212, allocations: 84.8 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01212, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003401/0.01246, allocations: 133.8 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01247, allocations: 6.031 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01248, allocations: 4.031 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.0125, allocations: 3.938 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.01265, allocations: 19.98 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01266, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01277, allocations: 11.98 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01278, allocations: 0 / 381.3 MB, free: 14.73 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 (7): * Single equations (assignments): 7 * 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.0001481/0.01293, allocations: 125.8 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.01298, allocations: 11.95 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.01341, allocations: 146.3 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01341, allocations: 0 / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.01342, allocations: 0 / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01342, allocations: 4 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.0141, allocations: 346.1 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.0141, allocations: 4 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.0142, allocations: 23.98 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.0142, allocations: 288 / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.01421, allocations: 0 / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01421, allocations: 0 / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01421, allocations: 7.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.0146, allocations: 223.4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.01463, allocations: 15.94 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.01466, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.01476, allocations: 11.94 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.0148, allocations: 3.984 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01481, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.01493, allocations: 115.2 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01493, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.01526, allocations: 51.8 kB / 382.4 MB, free: 13.59 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 (7): * Single equations (assignments): 7 * 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.00232/0.01758, allocations: 0.523 MB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.01795, allocations: 95.86 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01795, allocations: 0 / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.01809, allocations: 43.97 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.01852, allocations: 27.92 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.01919, allocations: 228.5 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.01931, allocations: 87.31 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.838e-05/0.01941, allocations: 21.02 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.01947, allocations: 20.48 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01947, allocations: 0 / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.006342/0.02581, allocations: 2.013 MB / 385.4 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.971145942923613]