Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001046/0.001046, 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.001351/0.001351, allocations: 161 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 1.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.625 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.2841/0.2841, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.464e-05, allocations: 2.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002725/0.00276, allocations: 1.66 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.003669, allocations: 0.5415 MB / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.003746, allocations: 3.938 kB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.004116, allocations: 103.7 kB / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.004491, allocations: 127.4 kB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.004781, allocations: 91.7 kB / 378.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.004992, allocations: 91.69 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005118, allocations: 15.97 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.005207, allocations: 47.89 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.005326, allocations: 67.86 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.005349, allocations: 7.984 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.005452, allocations: 43.92 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.005515, allocations: 19.92 kB / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.005553, allocations: 19.88 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005752, allocations: 99.58 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.005757, allocations: 0 / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005758, allocations: 4 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.005765, allocations: 4 kB / 379 MB, free: 1.691 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.0005143/0.006279, allocations: 459.8 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.006323, allocations: 8.031 kB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.006377, allocations: 16.84 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.006543, allocations: 145.2 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.006555, allocations: 8.375 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.006586, allocations: 4.312 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.006729, allocations: 62.94 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.006741, allocations: 192 / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.006755, allocations: 8.125 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.006766, allocations: 0 / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.006805, allocations: 11.98 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.007186, allocations: 299.7 kB / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.007266, allocations: 42.98 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.007293, allocations: 19.62 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.007319, allocations: 0 / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.007343, allocations: 37.39 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.007344, allocations: 0 / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006512/0.007995, allocations: 177.3 kB / 380.2 MB, free: 284 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.008043, allocations: 59.33 kB / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.008268, allocations: 263.1 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.008283, allocations: 29.7 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.008362, allocations: 158.9 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.008393, allocations: 31.81 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.008434, allocations: 27.36 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.008578, allocations: 0.504 MB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.008603, allocations: 8 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.008622, allocations: 7.984 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.008678, allocations: 43.91 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00868, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/0.008796, allocations: 77.53 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.008813, allocations: 11.94 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.008819, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.00884, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.008946, allocations: 15.98 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.008955, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.00898, allocations: 8 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.008988, allocations: 3.984 kB / 381.5 MB, free: 14.97 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.692e-05/0.009085, allocations: 164.5 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.009111, allocations: 19.91 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.009288, allocations: 91.06 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009292, allocations: 4 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.009296, allocations: 0 / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.009302, allocations: 3.984 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.00966, allocations: 381 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.009662, allocations: 0 / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.009715, allocations: 15.98 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.009719, allocations: 4.031 kB / 382.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.009729, allocations: 4 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009731, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.009733, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.009913, allocations: 247.4 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.009932, allocations: 11.91 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.009956, allocations: 4 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.009992, allocations: 0 / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.01003, allocations: 15.92 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.01004, allocations: 4 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.01014, allocations: 183.1 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01014, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.01031, allocations: 20 kB / 382.6 MB, free: 13.73 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.001109/0.01142, allocations: 435 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.01159, allocations: 43.61 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01159, allocations: 4 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.01163, allocations: 31.61 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.0119, allocations: 23.22 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.01233, allocations: 249.5 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.01238, allocations: 67.34 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.01242, allocations: 17.02 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.01246, allocations: 20.5 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01246, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003983/0.01645, allocations: 1.389 MB / 384.9 MB, free: 11.58 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.3178771417587996]