Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001163/0.001163, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001217/0.001217, allocations: 168.4 kB / 25.61 MB, free: 8.906 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 0.9847/0.9847, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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.1333/0.1333, allocations: 32.81 MB / 295.4 MB, free: 15.38 MB / 282.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.912e-05, allocations: 6.141 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002995/0.003024, allocations: 1.693 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.003905, allocations: 0.5414 MB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.003966, allocations: 4 kB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.004488, allocations: 451 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.004937, allocations: 295.2 kB / 380.3 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.005253, allocations: 135.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.005482, allocations: 171.6 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.005576, allocations: 15.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.005714, allocations: 119.8 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.005941, allocations: 243.6 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.005961, allocations: 4 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.006041, allocations: 31.94 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.006136, allocations: 91.69 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.006176, allocations: 35.75 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.006421, allocations: 199.2 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006424, allocations: 0 / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006425, allocations: 3.938 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006431, allocations: 0 / 381.3 MB, free: 21.57 MB / 314.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.0005707/0.007001, allocations: 0.7048 MB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.007042, allocations: 15.98 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.007107, allocations: 44.66 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.007324, allocations: 252.8 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.007335, allocations: 4.375 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.007356, allocations: 4.375 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.007476, allocations: 62.94 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.007487, allocations: 192 / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.007495, allocations: 4.125 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.007501, allocations: 4 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.007532, allocations: 11.92 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.007867, allocations: 336.2 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.995e-05/0.007937, allocations: 39.05 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.007958, allocations: 19.69 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.007973, allocations: 0 / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.007995, allocations: 45.31 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.007996, allocations: 3.938 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004222/0.008418, allocations: 149.3 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.008441, allocations: 51.41 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.008859, allocations: 0.6001 MB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.008868, allocations: 25.7 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.009023, allocations: 294.7 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.009052, allocations: 31.78 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.00909, allocations: 19.38 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.009204, allocations: 0.5625 MB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.009232, allocations: 4 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.009253, allocations: 7.984 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.009304, allocations: 27.91 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009306, allocations: 7.938 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.009432, allocations: 109.2 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.009447, allocations: 8 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.009452, allocations: 0 / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.009463, allocations: 4 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.009566, allocations: 15.98 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.009569, allocations: 0 / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.00962, allocations: 11.98 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.009627, allocations: 4 kB / 384.7 MB, free: 17.91 MB / 314.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 6.807e-05/0.009695, allocations: 152.6 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.00975, allocations: 47.66 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.009921, allocations: 109.5 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.009925, allocations: 3.984 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.009926, allocations: 0 / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.00993, allocations: 4 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.01031, allocations: 393.9 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01031, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.01039, allocations: 20.2 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.0104, allocations: 0 / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.0104, allocations: 4 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01041, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01041, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.01056, allocations: 259.5 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.0106, allocations: 35.72 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.01062, allocations: 8 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.01071, allocations: 8 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.01074, allocations: 7.984 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01075, allocations: 0 / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002662/0.01101, allocations: 394.7 kB / 386.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01101, allocations: 0 / 386.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.0113, allocations: 31.94 kB / 386.2 MB, free: 16.39 MB / 314.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.001128/0.01243, allocations: 383.5 kB / 386.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.01254, allocations: 43.64 kB / 386.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01255, allocations: 0 / 386.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.01258, allocations: 27.61 kB / 386.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.01293, allocations: 32.73 kB / 386.7 MB, free: 16.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.01373, allocations: 0.5828 MB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.298e-05/0.01382, allocations: 123.1 kB / 387.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.01387, allocations: 8 kB / 387.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.01394, allocations: 86.19 kB / 387.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01394, allocations: 0 / 387.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.005502/0.01945, allocations: 1.637 MB / 389.1 MB, free: 13.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.3062705527991056]