Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3748/0.3748, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.452e-05, allocations: 12.64 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003525/0.00356, allocations: 1.661 MB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004729, allocations: 0.7754 MB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.004771, allocations: 0 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.005058, allocations: 43.7 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.005293, allocations: 39.83 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.005297, allocations: 0 / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.005458, allocations: 35.84 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.0055, allocations: 7.984 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.005541, allocations: 11.94 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.00561, allocations: 11.97 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.005625, allocations: 7.938 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.005675, allocations: 8 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.005725, allocations: 23.92 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.005767, allocations: 7.938 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.005912, allocations: 59.8 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005916, allocations: 0 / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005917, allocations: 0 / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.005922, allocations: 0 / 379.9 MB, free: 184 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.0004471/0.006369, allocations: 294 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.00641, allocations: 8.031 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.006461, allocations: 16.81 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.006612, allocations: 121.7 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.006626, allocations: 384 / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.006634, allocations: 8.375 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.006855, allocations: 119.3 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006865, allocations: 4.188 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006876, allocations: 4.359 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.006926, allocations: 20.36 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.007015, allocations: 55.78 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.007774, allocations: 0.824 MB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.007902, allocations: 173.2 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.007951, allocations: 80.14 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.008, allocations: 79.28 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.00807, allocations: 109.8 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.008071, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.398e-05/0.008165, allocations: 41.53 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.00825, allocations: 126.7 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.008494, allocations: 202.7 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.008512, allocations: 25.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.008645, allocations: 155.5 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.008648, allocations: 0 / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.008714, allocations: 41.7 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.008891, allocations: 318.8 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.008947, allocations: 35.92 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.009124, allocations: 156.2 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.009386, allocations: 204.8 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.009388, allocations: 0 / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003637/0.009752, allocations: 201.2 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.009772, allocations: 8 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.00978, allocations: 4.625 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.009812, allocations: 19.92 kB / 383.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.009944, allocations: 39.92 kB / 383.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.009955, allocations: 4 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.01004, allocations: 27.78 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01006, allocations: 12 kB / 383.4 MB, free: 12.36 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.0001691/0.01023, allocations: 213 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.01032, allocations: 116.9 kB / 383.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.0104, allocations: 120.8 kB / 383.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/0.0105, allocations: 188.1 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002374/0.01074, allocations: 176.3 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.482e-05/0.01084, allocations: 188.2 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.01113, allocations: 372.8 kB / 384.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.475e-05/0.0112, allocations: 105 kB / 384.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.01126, allocations: 108.9 kB / 384.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/0.01135, allocations: 176.3 kB / 385.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.01146, allocations: 184.2 kB / 385.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001071/0.01157, allocations: 184.2 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.782e-05/0.01167, allocations: 180.2 kB / 385.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.01187, allocations: 307.7 kB / 386 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.01197, allocations: 120.9 kB / 386.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.01209, allocations: 176.3 kB / 386.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.0122, allocations: 113 kB / 386.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.0123, allocations: 184.1 kB / 386.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.01236, allocations: 101 kB / 386.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.01251, allocations: 135.2 kB / 386.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 0 / 386.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.01281, allocations: 12 kB / 386.8 MB, free: 8.789 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.0009219/0.01373, allocations: 275.3 kB / 387 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01389, allocations: 76.22 kB / 387.1 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0139, allocations: 0 / 387.1 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.0139, allocations: 3.938 kB / 387.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.01437, allocations: 467.7 kB / 387.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.0148, allocations: 251.7 kB / 387.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01491, allocations: 87.67 kB / 387.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.01512, allocations: 49.89 kB / 388 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.01516, allocations: 16.5 kB / 388 MB, free: 7.574 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01516, allocations: 3.938 kB / 388 MB, free: 7.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003494/0.01866, allocations: 0.7266 MB / 388.7 MB, free: 6.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.900765580008738]