Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001082/0.001082, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001041/0.001041, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2771/0.2771, allocations: 32.81 MB / 294.6 MB, free: 0.7383 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 376 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.827e-05, allocations: 12.14 kB / 376 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002484/0.002512, allocations: 1.705 MB / 377.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.00362, allocations: 0.5492 MB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.003681, allocations: 0 / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.00414, allocations: 462.9 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.004525, allocations: 299.1 kB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.004797, allocations: 123.6 kB / 379.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.005022, allocations: 171.7 kB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005139, allocations: 15.98 kB / 379.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.005269, allocations: 123.8 kB / 379.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.005484, allocations: 243.5 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.005503, allocations: 4 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.963e-05/0.005602, allocations: 47.92 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.00571, allocations: 91.64 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.005752, allocations: 39.73 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.005984, allocations: 203.2 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005987, allocations: 0 / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005988, allocations: 0 / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005992, allocations: 0 / 380.1 MB, free: 0.7578 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005844/0.006577, allocations: 0.7086 MB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.006615, allocations: 12.03 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/0.006703, allocations: 48.73 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.006909, allocations: 248.8 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.006919, allocations: 384 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.006941, allocations: 4.375 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.007061, allocations: 66.88 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.007072, allocations: 4.188 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.007083, allocations: 4.125 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.007093, allocations: 4 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.007129, allocations: 12 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.007526, allocations: 439.5 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.007591, allocations: 43 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.007614, allocations: 15.77 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.00764, allocations: 7.984 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00766, allocations: 33.39 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.007661, allocations: 4 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005555/0.008216, allocations: 252.7 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.008248, allocations: 55.41 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.008654, allocations: 0.6277 MB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.008666, allocations: 29.7 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.008807, allocations: 290.7 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.008831, allocations: 27.75 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.008863, allocations: 27.36 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.009015, allocations: 0.5547 MB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.009036, allocations: 7.984 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.009055, allocations: 12 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.009103, allocations: 31.67 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.009103, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001057/0.009209, allocations: 121.5 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.00922, allocations: 4 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009225, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.009238, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.009307, allocations: 12 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.009317, allocations: 3.984 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.009346, allocations: 11.94 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.009351, allocations: 0 / 383.8 MB, free: 12.85 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 7.289e-05/0.009423, allocations: 164.5 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.009458, allocations: 47.72 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.009613, allocations: 113.5 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009615, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.009618, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009621, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.009997, allocations: 0.5087 MB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009998, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.01003, allocations: 12 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01004, allocations: 4 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.01005, allocations: 8.016 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01005, allocations: 0 / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01005, allocations: 3.938 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01018, allocations: 263.3 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.0102, allocations: 35.72 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.01022, allocations: 4 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.01026, allocations: 7.984 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.01029, allocations: 3.938 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01029, allocations: 4 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005098/0.0108, allocations: 430.8 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0108, allocations: 4 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.01099, allocations: 35.92 kB / 385.4 MB, free: 11.14 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.0009956/0.01198, allocations: 435.5 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01209, allocations: 47.59 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01209, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.01212, allocations: 35.61 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01237, allocations: 33.55 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.01299, allocations: 0.6001 MB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.01306, allocations: 123.2 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.88e-05/0.0131, allocations: 13.03 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.01313, allocations: 16.5 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01313, allocations: 0 / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of Templates: time 0.003897/0.01703, allocations: 1.609 MB / 388.3 MB, free: 8.344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2781522378791124]