Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001103/0.001103, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001797/0.001797, allocations: 169.3 kB / 24.82 MB, free: 9.312 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2918/0.2918, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.103e-05/5.42e-05, allocations: 2.312 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.005028/0.005082, allocations: 1.703 MB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.006334, allocations: 0.5374 MB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.821e-05/0.006422, allocations: 4 kB / 380.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.007102, allocations: 451 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.007658, allocations: 295.2 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.008029, allocations: 131.5 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.008329, allocations: 179.6 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.008457, allocations: 15.97 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.008677, allocations: 123.8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.008999, allocations: 239.6 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.009025, allocations: 8 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.009155, allocations: 55.84 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.009274, allocations: 79.72 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.009326, allocations: 51.66 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.009649, allocations: 195.2 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.009654, allocations: 4 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.009655, allocations: 0 / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.009663, allocations: 0 / 382.6 MB, free: 14.31 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009327/0.0106, allocations: 0.7085 MB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.01065, allocations: 8.031 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.01071, allocations: 48.66 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.01093, allocations: 248.8 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.01095, allocations: 8.375 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.01097, allocations: 4.375 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.01112, allocations: 62.89 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.01114, allocations: 4.125 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.01115, allocations: 8.125 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.01116, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.01118, allocations: 11.98 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.01155, allocations: 344.2 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.01162, allocations: 43.05 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.01164, allocations: 11.62 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.01167, allocations: 4 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.0117, allocations: 41.39 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.0117, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.01225, allocations: 197.3 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.01229, allocations: 55.39 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.01274, allocations: 0.6001 MB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01276, allocations: 29.7 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.01296, allocations: 298.6 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.013, allocations: 35.72 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.01304, allocations: 27.38 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.01323, allocations: 0.5585 MB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.01325, allocations: 4 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.01327, allocations: 11.98 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.01332, allocations: 27.67 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01332, allocations: 4 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000117/0.01344, allocations: 105.3 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01345, allocations: 4 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01346, allocations: 4 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01348, allocations: 0 / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01358, allocations: 19.98 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.01358, allocations: 0 / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.01361, allocations: 4 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.01362, allocations: 0 / 386.1 MB, free: 10.6 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.918e-05/0.01372, allocations: 160.5 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.01376, allocations: 47.72 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.01397, allocations: 113.5 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.01397, allocations: 4.422 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01397, allocations: 0 / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01398, allocations: 3.938 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.01436, allocations: 437.8 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01437, allocations: 0 / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.01443, allocations: 12 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01443, allocations: 3.984 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01444, allocations: 4 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01445, allocations: 0 / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.01445, allocations: 8.016 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.01461, allocations: 267.3 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.01464, allocations: 35.72 kB / 387.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01466, allocations: 4 kB / 387.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.01471, allocations: 4 kB / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.01475, allocations: 7.984 kB / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01476, allocations: 3.938 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002462/0.015, allocations: 398.7 kB / 387.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.015, allocations: 0 / 387.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.01519, allocations: 27.94 kB / 387.6 MB, free: 9.008 MB / 362.7 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.001236/0.01643, allocations: 439.5 kB / 388 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01654, allocations: 35.61 kB / 388 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01654, allocations: 0 / 388 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.01657, allocations: 31.59 kB / 388.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.01687, allocations: 36.91 kB / 388.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.01761, allocations: 0.5862 MB / 388.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01772, allocations: 123.2 kB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.01778, allocations: 21.02 kB / 388.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.01785, allocations: 78.2 kB / 388.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01785, allocations: 0 / 388.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of Templates: time 0.005046/0.0229, allocations: 1.758 MB / 390.7 MB, free: 6.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.3300310596823692]