Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001434/0.001434, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001365/0.001365, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2397/0.2397, allocations: 32.8 MB / 294.6 MB, free: 1.203 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.599e-05, allocations: 2.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003247/0.003273, allocations: 1.708 MB / 377.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.00415, allocations: 0.7908 MB / 378.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.004198, allocations: 0 / 378.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.004486, allocations: 31.78 kB / 378.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.004729, allocations: 47.7 kB / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.948e-06/0.004733, allocations: 0 / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.004906, allocations: 43.83 kB / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.004946, allocations: 0 / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.004987, allocations: 11.98 kB / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.005052, allocations: 15.92 kB / 378.7 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.005065, allocations: 0 / 378.7 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.005118, allocations: 15.98 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.005169, allocations: 11.94 kB / 378.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.005194, allocations: 8 kB / 378.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.005336, allocations: 55.7 kB / 378.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005339, allocations: 0 / 378.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00534, allocations: 4 kB / 378.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005346, allocations: 0 / 378.7 MB, free: 2.223 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00038/0.005726, allocations: 392.3 kB / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.005765, allocations: 11.97 kB / 379.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.005813, allocations: 12.88 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.00594, allocations: 120.5 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.005953, allocations: 384 / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005964, allocations: 4.375 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.006122, allocations: 112.3 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.00613, allocations: 192 / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006141, allocations: 384 / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/0.006197, allocations: 28.36 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.006253, allocations: 35.78 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.007026, allocations: 1.203 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.007156, allocations: 261.4 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.007215, allocations: 130.9 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.007254, allocations: 119.2 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.007312, allocations: 160.6 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.007313, allocations: 0 / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.856e-05/0.007392, allocations: 41.62 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.007457, allocations: 178.5 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.007662, allocations: 251 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.007672, allocations: 25.7 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.007782, allocations: 206.2 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.007788, allocations: 4 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.00785, allocations: 51.31 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.007992, allocations: 0.4923 MB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.008021, allocations: 11.98 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.00815, allocations: 200.4 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.008342, allocations: 229.5 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.008345, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002874/0.008633, allocations: 169.3 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.008655, allocations: 7.984 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.008664, allocations: 8 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.008686, allocations: 7.938 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.008817, allocations: 39.92 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.008832, allocations: 11.94 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.163e-05/0.008924, allocations: 28.25 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.008937, allocations: 12 kB / 383.3 MB, free: 13.29 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.0001248/0.009061, allocations: 287.7 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.009133, allocations: 156.8 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.009205, allocations: 156.7 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/0.009283, allocations: 272 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.512e-05/0.009368, allocations: 268.2 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.415e-05/0.009462, allocations: 280 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.009718, allocations: 0.5077 MB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/0.009768, allocations: 148.8 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.009811, allocations: 144.9 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-05/0.009891, allocations: 272.1 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/0.009975, allocations: 272 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.767e-05/0.01005, allocations: 268.1 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.909e-05/0.01014, allocations: 272 kB / 386.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.01047, allocations: 456 kB / 386.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.01053, allocations: 152.8 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.01063, allocations: 272.1 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.01072, allocations: 148.8 kB / 387.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.0108, allocations: 275.9 kB / 387.8 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.01085, allocations: 148.9 kB / 387.9 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.01096, allocations: 159.3 kB / 388.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01096, allocations: 4 kB / 388.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.0113, allocations: 19.94 kB / 388.1 MB, free: 8.25 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.0006452/0.01195, allocations: 302.5 kB / 388.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.0121, allocations: 67.47 kB / 388.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0121, allocations: 1.25 kB / 388.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.0121, allocations: 0 / 388.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.01243, allocations: 0.7169 MB / 389.2 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.01277, allocations: 283.8 kB / 389.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01281, allocations: 63.84 kB / 389.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.816e-05/0.01291, allocations: 49.06 kB / 389.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.01294, allocations: 20.48 kB / 389.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.01294, allocations: 0 / 389.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of Templates: time 0.002424/0.01537, allocations: 0.7285 MB / 390.3 MB, free: 6.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.270084497053176]