Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001813/0.001813, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001879/0.001879, allocations: 161.3 kB / 24.27 MB, free: 156 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3872/0.3872, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 3.938 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.766e-05/5.053e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004485/0.004536, allocations: 1.665 MB / 379 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.00573, allocations: 0.7793 MB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.005774, allocations: 8 kB / 379.8 MB, free: 492 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.006059, allocations: 31.77 kB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.006306, allocations: 39.78 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.59e-06/0.006312, allocations: 0 / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.006493, allocations: 39.83 kB / 379.9 MB, free: 380 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.006524, allocations: 0 / 379.9 MB, free: 380 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.006577, allocations: 19.91 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.006659, allocations: 11.98 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.006674, allocations: 0 / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.006726, allocations: 16 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.006782, allocations: 15.92 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.006812, allocations: 15.92 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.00698, allocations: 63.75 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006983, allocations: 0 / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006984, allocations: 0 / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.006988, allocations: 0 / 380 MB, free: 236 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004962/0.007484, allocations: 399.9 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.007524, allocations: 8.031 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.007576, allocations: 8.891 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.007737, allocations: 120.5 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.00775, allocations: 8.375 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.00776, allocations: 384 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.007972, allocations: 112.3 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.007984, allocations: 8.062 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.007995, allocations: 4.375 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.008055, allocations: 24.36 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.00812, allocations: 31.84 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.009182, allocations: 1.215 MB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.009372, allocations: 265.4 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/0.009461, allocations: 131 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.009527, allocations: 127.1 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.72e-05/0.009614, allocations: 156.6 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.009615, allocations: 0 / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.737e-05/0.009702, allocations: 37.59 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.009828, allocations: 178.6 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.0101, allocations: 263 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.01012, allocations: 25.7 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.01029, allocations: 202.3 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.0103, allocations: 4 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.01038, allocations: 47.36 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/0.01068, allocations: 0.5001 MB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.01072, allocations: 19.95 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.01094, allocations: 205.7 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.01121, allocations: 229.5 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01121, allocations: 0 / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000309/0.01152, allocations: 173.1 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01154, allocations: 4.625 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.01155, allocations: 8 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.01157, allocations: 11.94 kB / 384.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.0117, allocations: 35.92 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.01171, allocations: 8 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.0118, allocations: 23.84 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01182, allocations: 8 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0004553/0.01227, allocations: 299.6 kB / 384.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.0124, allocations: 156.8 kB / 385 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.0125, allocations: 152.7 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001538/0.01266, allocations: 276 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001676/0.01283, allocations: 272.1 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001583/0.01298, allocations: 272.1 kB / 385.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.01338, allocations: 0.5232 MB / 386.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001021/0.01349, allocations: 148.9 kB / 386.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.01357, allocations: 144.9 kB / 386.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.01372, allocations: 268 kB / 387 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.01388, allocations: 268.1 kB / 387.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001532/0.01403, allocations: 272 kB / 387.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000162/0.01419, allocations: 272 kB / 387.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.01448, allocations: 451.9 kB / 388.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.01458, allocations: 152.8 kB / 388.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.01477, allocations: 284 kB / 388.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01489, allocations: 144.9 kB / 388.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.01505, allocations: 268 kB / 389.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/0.01514, allocations: 152.8 kB / 389.2 MB, free: 6.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.01529, allocations: 163.3 kB / 389.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01529, allocations: 0 / 389.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.01559, allocations: 12 kB / 389.4 MB, free: 6.207 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 (0): * Single equations (assignments): 0 * 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.001275/0.01686, allocations: 343.7 kB / 389.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.01705, allocations: 70.31 kB / 389.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01705, allocations: 4 kB / 389.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.01705, allocations: 0 / 389.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.01771, allocations: 0.7178 MB / 390.5 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.01818, allocations: 281.2 kB / 390.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.0183, allocations: 88.67 kB / 390.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.01844, allocations: 45.08 kB / 390.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.01849, allocations: 16.5 kB / 390.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01849, allocations: 0 / 390.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of Templates: time 0.003959/0.02245, allocations: 0.7292 MB / 391.7 MB, free: 3.934 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.918102841009386]